MediaWiki:Apihelp-query+globaluserinfo-param-user

User to get information about. If $1user and $1id both are omitted, it defaults to the current user.