MediaWiki:Apihelp-query+allusers-paramvalue-prop-groups
From success
Lists groups that the user is in. This uses more server resources and may return fewer results than the limit.