MediaWiki:Apihelp-query+globaluserinfo-param-id/en

From translatewiki.net

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