> For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/zh/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/zh/llms-full.txt.

# Interface: ApiUserGroup

Defined in: [core/query/siteinfo.ts:382](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/siteinfo.ts#L382)

One user group (`siprop=usergroups`). The right-granting lists come from
`$wgAddGroups`/`$wgRemoveGroups`/…, so they are absent when unconfigured.

## Properties

### add?

> `optional` **add?**: `string`\[]

Defined in: [core/query/siteinfo.ts:393](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/siteinfo.ts#L393)

Groups an admin may add this group to.

***

### add-self?

> `optional` **add-self?**: `string`\[]

Defined in: [core/query/siteinfo.ts:399](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/siteinfo.ts#L399)

Groups a user may grant to themselves.

***

### name

> **name**: `string`

Defined in: [core/query/siteinfo.ts:384](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/siteinfo.ts#L384)

Group key; `*` is the anonymous group.

***

### number?

> `optional` **number?**: `number`

Defined in: [core/query/siteinfo.ts:390](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/siteinfo.ts#L390)

Member count. Only with `sinumberingroup`; absent for `*` and autopromote groups.

***

### remove?

> `optional` **remove?**: `string`\[]

Defined in: [core/query/siteinfo.ts:396](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/siteinfo.ts#L396)

Groups an admin may remove this group from.

***

### remove-self?

> `optional` **remove-self?**: `string`\[]

Defined in: [core/query/siteinfo.ts:402](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/siteinfo.ts#L402)

Groups a user may revoke from themselves.

***

### rights

> **rights**: `string`\[]

Defined in: [core/query/siteinfo.ts:387](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/siteinfo.ts#L387)

Rights granted by the group.
