MediaWiki:Apihelp-query+userinfo-paramvalue-prop-groupmemberships
From DISCO3.CO.UK Knowledge Base
Lists groups that the current user has been explicitly assigned to, including the expiry date of each group membership.