MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
list=users (us)
- このモジュールは読み取りの権限を必要とします。
 
Get information about a list of users.
パラメーター:
- usprop
 Which pieces of information to include:
- blockinfo
 - Tags if the user is blocked, by whom, and for what reason.
 - groups
 - Lists all the groups each user belongs to.
 - implicitgroups
 - Lists all the groups a user is automatically a member of.
 - rights
 - Lists all the rights each user has.
 - editcount
 - Adds the user's edit count.
 - registration
 - Adds the user's registration timestamp.
 - emailable
 - Tags if the user can and wants to receive email through Special:Emailuser.
 - gender
 - Tags the gender of the user. Returns "male", "female", or "unknown".
 
- 値 (|で区切る): blockinfo、groups、implicitgroups、rights、editcount、registration、emailable、gender
 - ususers
 A list of users to obtain information for.
- 複数の値は | で区切ってください。 値の最大値は 50 (ボットの場合は 500) です。
 - ustoken
 - 廃止予定です。
 Use action=query&meta=tokens instead.
- 値 (|で区切る): userrights
 
例:
- Return information for user Example.
 - api.php?action=query&list=users&ususers=Example&usprop=groups|editcount|gender