MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=allusers (au)
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0-or-later
Enumerate all registered users.
- aufrom
The user name to start enumerating from.
- auto
The user name to stop enumerating at.
- auprefix
Search for all users that begin with this value.
- audir
Direction to sort in.
- One of the following values: ascending, descending
- Default: ascending
- augroup
Only include users in the given groups.
- Values (separate with | or alternative): bot, sysop, bureaucrat, devwiki_user, dave_user, a000022_user, a000022_user_rw, a000022_approval, a000022_sdv09_user, a000022_sdv09_user_rw, a000022_sdv09_approval, a000057_user, a000077_user, a000171_user, a000180_user, a000011_user, a000011_user_rw, a000011_approval, a000011_sdv18_user, a000011_sdv18_user_rw, a000011_sdv18_approval, a000011_sdv30_user, a000011_sdv30_user_rw, a000011_sdv30_approval, a000115_user, a000016_user, a000058_user, a000056_user, a000025_user, a000063_user, a000063_user_rw, a000063_approval, a000063_salcr_user, a000063_salcr_user_rw, a000063_salcr_approval, a000298_user, a000298_user_rw, a000298_approval, a000299_user, a000299_user_rw, a000299_approval, a000249_user, a000249_user_rw, a000249_approval, a000322_user, a000322_user_rw, a000322_approval, a000322_bds_user, a000322_bds_user_rw, a000322_bds_approval, wikifarmtest_user, wikifarmtest_user_rw, wikifarmtest_approval, a000380_user, a000380_user_rw, a000380_approval, a000380_som_ups_user, a000380_som_ups_user_rw, a000380_som_ups_approval, a000266_user, a000266_user_rw, a000266_approval, a000266_prometeus_user, a000266_prometeus_user_rw, a000266_prometeus_approval, a000298_buddylight_user, a000298_buddylight_user_rw, a000298_buddylight_approval, a000327_user, a000327_user_rw, a000327_approval, a000327_sdv07_user, a000327_sdv07_user_rw, a000327_sdv07_approval, a000054_user, a000054_user_rw, a000054_approval, a000054_nairobi_user, a000054_nairobi_user_rw, a000054_nairobi_approval, a000036_user, a000036_user_rw, a000036_approval, a000036_diva_user, a000036_diva_user_rw, a000036_diva_approval, a000485_user, a000485_user_rw, a000485_approval, a000485_sdv20_user, a000485_sdv20_user_rw, a000485_sdv20_approval, a000032_user, a000032_user_rw, a000032_approval, a000019_user, a000019_user_rw, a000019_approval, a000019_sdv26_user, a000019_sdv26_user_rw, a000019_sdv26_approval, a000029_user, a000029_user_rw, a000029_approval, a000029_sdv29_user, a000029_sdv29_user_rw, a000029_sdv29_approval, a000028_user, a000028_user_rw, a000028_approval, a000028_gsd_user, a000028_gsd_user_rw, a000028_gsd_approval, a000767_user, a000767_user_rw, a000767_approval, a000767_sdv28_user, a000767_sdv28_user_rw, a000767_sdv28_approval
- Maximum number of values is 50 (500 for bots).
- auexcludegroup
Exclude users in the given groups.
- Values (separate with | or alternative): bot, sysop, bureaucrat, devwiki_user, dave_user, a000022_user, a000022_user_rw, a000022_approval, a000022_sdv09_user, a000022_sdv09_user_rw, a000022_sdv09_approval, a000057_user, a000077_user, a000171_user, a000180_user, a000011_user, a000011_user_rw, a000011_approval, a000011_sdv18_user, a000011_sdv18_user_rw, a000011_sdv18_approval, a000011_sdv30_user, a000011_sdv30_user_rw, a000011_sdv30_approval, a000115_user, a000016_user, a000058_user, a000056_user, a000025_user, a000063_user, a000063_user_rw, a000063_approval, a000063_salcr_user, a000063_salcr_user_rw, a000063_salcr_approval, a000298_user, a000298_user_rw, a000298_approval, a000299_user, a000299_user_rw, a000299_approval, a000249_user, a000249_user_rw, a000249_approval, a000322_user, a000322_user_rw, a000322_approval, a000322_bds_user, a000322_bds_user_rw, a000322_bds_approval, wikifarmtest_user, wikifarmtest_user_rw, wikifarmtest_approval, a000380_user, a000380_user_rw, a000380_approval, a000380_som_ups_user, a000380_som_ups_user_rw, a000380_som_ups_approval, a000266_user, a000266_user_rw, a000266_approval, a000266_prometeus_user, a000266_prometeus_user_rw, a000266_prometeus_approval, a000298_buddylight_user, a000298_buddylight_user_rw, a000298_buddylight_approval, a000327_user, a000327_user_rw, a000327_approval, a000327_sdv07_user, a000327_sdv07_user_rw, a000327_sdv07_approval, a000054_user, a000054_user_rw, a000054_approval, a000054_nairobi_user, a000054_nairobi_user_rw, a000054_nairobi_approval, a000036_user, a000036_user_rw, a000036_approval, a000036_diva_user, a000036_diva_user_rw, a000036_diva_approval, a000485_user, a000485_user_rw, a000485_approval, a000485_sdv20_user, a000485_sdv20_user_rw, a000485_sdv20_approval, a000032_user, a000032_user_rw, a000032_approval, a000019_user, a000019_user_rw, a000019_approval, a000019_sdv26_user, a000019_sdv26_user_rw, a000019_sdv26_approval, a000029_user, a000029_user_rw, a000029_approval, a000029_sdv29_user, a000029_sdv29_user_rw, a000029_sdv29_approval, a000028_user, a000028_user_rw, a000028_approval, a000028_gsd_user, a000028_gsd_user_rw, a000028_gsd_approval, a000767_user, a000767_user_rw, a000767_approval, a000767_sdv28_user, a000767_sdv28_user_rw, a000767_sdv28_approval
- Maximum number of values is 50 (500 for bots).
- aurights
Only include users with the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.
- Values (separate with | or alternative): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editprotected, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjson, editmyuserjs, editmywatchlist, editsemiprotected, editusercss, edituserjson, edituserjs, hideuser, import, importupload, ipblock-exempt, managechangetags, markbotedits, mergehistory, minoredit, move, movefile, move-categorypages, move-rootuserpages, move-subpages, nominornewtalk, noratelimit, override-export-depth, pagelang, patrol, patrolmarks, protect, purge, read, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed, writeapi, approverevisions, viewlinktolatest, viewapprover
- Maximum number of values is 50 (500 for bots).
- auprop
Which pieces of information to include:
- blockinfo
- Adds the information about a current block on the user.
- groups
- Lists groups that the user is in. This uses more server resources and may return fewer results than the limit.
- implicitgroups
- Lists all the groups the user is automatically in.
- rights
- Lists rights that the user has.
- editcount
- Adds the edit count of the user.
- registration
- Adds the timestamp of when the user registered if available (may be blank).
- centralids
- Adds the central IDs and attachment status for the user.
- Values (separate with | or alternative): blockinfo, groups, implicitgroups, rights, editcount, registration, centralids
- aulimit
How many total user names to return.
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- Default: 10
- auwitheditsonly
Only list users who have made edits.
- Type: boolean (details)
- auactiveusers
Only list users active in the last 30 days.
- Type: boolean (details)
- auattachedwiki
With auprop=centralids, also indicate whether the user is attached with the wiki identified by this ID.
- List users starting at Y.
- api.php?action=query&list=allusers&aufrom=Y [open in sandbox]