MediaWiki:Apihelp-query+siteinfo-paramvalue-prop-usergroups/en

Returns user groups and the associated permissions.