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

Lists all the groups the current user belongs to.