MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=users (us)
- Questo modulo richiede i diritti di lettura.
 - Fonte: MediaWiki
 - Licenza: GPL-2.0+
 
Ottieni informazioni su un elenco di utenti.
Parametri:
- usprop
 Quali pezzi di informazioni includere:
- blockinfo
 - Tags if the user is blocked, by whom, and for what reason.
 - groups
 - Lists all the groups each user belongs to.
 - groupmemberships
 - Lists groups that each user has been explicitly assigned to, including the expiry date of each group membership.
 - 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".
 - centralids
 - Adds the central IDs and attachment status for the user.
 - cancreate
 - Indica se può essere creata un'utenza per nomi utente validi ma non registrati.
 
- Valori (separati da | o alternativa): blockinfo, groups, groupmemberships, implicitgroups, rights, editcount, registration, emailable, gender, centralids, cancreate
 - usattachedwiki
 With usprop=centralids, indicate whether the user is attached with the wiki identified by this ID.
- ususers
 Un elenco di utenti di cui ottenere informazioni.
- Separa i valori con | o alternativa. Il numero massimo di valori è 50 (500 per i bot).
 - ususerids
 A list of user IDs to obtain information for.
- Tipo: elenco di interi
 - Separa i valori con | o alternativa. Il numero massimo di valori è 50 (500 per i bot).
 - ustoken
 - Deprecato.
 Use action=query&meta=tokens instead.
- Valori (separati da | o alternativa): userrights
 
Esempio:
- Return information for user Example.
 - api.php?action=query&list=users&ususers=Example&usprop=groups|editcount|gender [apri in una sandbox]