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

Returns user groups and the associated permissions.