MediaWiki:Apihelp-query+userinfo-paramvalue-prop-groupmemberships
From Viewpoints Intelligent Archive
Lists groups that the current user has been explicitly assigned to, including the expiry date of each group membership.