API:Users

From MediaWiki.org
Jump to: navigation, search
Tools clipart.png This page is part of the MediaWiki API documentation.
Language: English
MediaWiki API

Quick overview:

v · d · e


MediaWiki version: 1.12

Get information about a list of users. This module cannot be used as a generator.

Parameters [edit]

  • ususers: A list of user names to get information for
  • ustoken: Which tokens to get
  • usprop: Which properties to get
    • blockinfo: Whether the user is blocked, by whom and why
    • groups: All groups the user belongs to
    • implicitgroups: All groups a user is automatically a member of
    • rights: All rights the user has
    • editcount: The number of edits the user has made
    • registration: The time and date the user registered at
    • emailable: Whether the user can and wants to receive e-mail through Special:Emailuser
    • gender: Tags the gender of the user. Returns "male", "female", or "unknown"

Example [edit]

Getting information about a list of users

Error Codes [edit]

None