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

# Interface: ApiUserCore

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

Fields present on both the `list=users` ([ApiUser](https://types-mediawiki-response.pages.dev/api/core/ApiUser.md)) and `meta=userinfo`
user records; each is gated by the same `usprop`/`uiprop` value in both
modules.

## Extends

- [`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md)

## Extended by

- [`ApiUser`](https://types-mediawiki-response.pages.dev/api/core/ApiUser.md)
- [`ApiUserInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiUserInfo.md)

## Properties

### attachedlocal?

> `optional` **attachedlocal?**: `Record`\<`string`, `boolean`>

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

Whether the account is attached to each provider, keyed like [centralids](#centralids). `usprop=centralids` / `uiprop=centralids`.

***

### blockanononly?

> `optional` **blockanononly?**: `boolean`

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

Whether the block only affects anonymous users (soft block). A real `boolean`.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockanononly`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockanononly)

***

### blockautoblocking?

> `optional` **blockautoblocking?**: `boolean`

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

Whether the block also enables the autoblock feature. A real `boolean`.

#### Since

MediaWiki 1.46

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockautoblocking`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockautoblocking)

***

### blockcomponents?

> `optional` **blockcomponents?**: [`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md)\[]

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

The individual blocks composing this one; only for composite blocks.

#### Since

MediaWiki 1.42

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockcomponents`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockcomponents)

***

### blockedby?

> `optional` **blockedby?**: `string`

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

User name of the blocker; `''` when unknown (e.g. autoblocks).

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockedby`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockedby)

***

### blockedbyid?

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

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

User id of the blocker; `0` when unknown.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockedbyid`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockedbyid)

***

### blockedtimestamp?

> `optional` **blockedtimestamp?**: `string`

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

When the block was placed or last modified.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockedtimestamp`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockedtimestamp)

***

### blockedtimestampformatted?

> `optional` **blockedtimestampformatted?**: `string`

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

`blockedtimestamp` localized for the requesting user.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockedtimestampformatted`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockedtimestampformatted)

***

### blockemail?

> `optional` **blockemail?**: `boolean`

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

Whether the block prevents sending email. A real `boolean`.

#### Since

MediaWiki 1.41

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockemail`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockemail)

***

### blockexpiry?

> `optional` **blockexpiry?**: `string`

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

Block expiry; the literal `infinite` when the block does not expire.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockexpiry`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockexpiry)

***

### blockexpiryformatted?

> `optional` **blockexpiryformatted?**: `string`

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

`blockexpiry` localized for the requesting user; only when the block expires.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockexpiryformatted`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockexpiryformatted)

***

### blockexpiryrelative?

> `optional` **blockexpiryrelative?**: `string`

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

Human-readable time to expiry (e.g. `in 5 days`); only when the block expires.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockexpiryrelative`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockexpiryrelative)

***

### blockhidden?

> `optional` **blockhidden?**: `true`

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

The block itself is suppressed (hidden from users without the `hideuser`
right). A [Flag](https://types-mediawiki-response.pages.dev/api/core/Flag.md), present only when suppressed.

#### Since

MediaWiki 1.47

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockhidden`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockhidden)

***

### blockid?

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

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

ID of the block.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockid`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockid)

***

### blocknocreate?

> `optional` **blocknocreate?**: `boolean`

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

Whether the block prevents account creation. A real `boolean`.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blocknocreate`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blocknocreate)

***

### blockowntalk?

> `optional` **blockowntalk?**: `boolean`

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

Whether editing one's own talk page is prevented. A real `boolean`.

#### Since

MediaWiki 1.41

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockowntalk`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockowntalk)

***

### blockpartial?

> `optional` **blockpartial?**: `boolean`

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

Whether the block only applies to certain pages, namespaces and/or actions. A real `boolean`.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockpartial`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockpartial)

***

### blockreason?

> `optional` **blockreason?**: `string`

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

Block reason, in plain text.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`blockreason`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#blockreason)

***

### centralids?

> `optional` **centralids?**: `Record`\<`string`, `number`>

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

Global (CentralAuth) ids keyed by provider. `usprop=centralids` / `uiprop=centralids`.

***

### editcount?

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

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

Total edit count. `usprop=editcount` / `uiprop=editcount`.

***

### groupmemberships?

> `optional` **groupmemberships?**: [`ApiUserGroupMembership`](https://types-mediawiki-response.pages.dev/api/core/ApiUserGroupMembership.md)\[]

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

Group memberships with grant/expiry metadata. `usprop=groupmemberships` / `uiprop=groupmemberships`.

***

### groups?

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

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

Groups the user belongs to (including implicit). `usprop=groups` / `uiprop=groups`.

***

### implicitgroups?

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

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

Groups that apply by virtue of an inherent right, not membership. `usprop=implicitgroups` / `uiprop=implicitgroups`.

***

### rights?

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

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

Effective rights. `usprop=rights` / `uiprop=rights`.

***

### systemblocktype?

> `optional` **systemblocktype?**: `string`

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

Type of the automatically applied system block; only for system blocks.

#### Inherited from

[`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md).[`systemblocktype`](https://types-mediawiki-response.pages.dev/api/core/ApiBlockInfo.md#systemblocktype)
