MediaWiki:Apihelp-query+users-paramvalue-prop-groups

Lists all the groups each user belongs to.