> 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: ApiCreateLocalAccountResult

Defined in: [extensions/centralauth.ts:211](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/centralauth.ts#L211)

Result of `action=createlocalaccount` (CSRF-token POST, `centralauth-createlocal`
right): a local account was force-created on this wiki for the global account.

## Since

MediaWiki 1.36

## Properties

### reason

> **reason**: `string` | `null`

Defined in: [extensions/centralauth.ts:216](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/centralauth.ts#L216)

The reason passed to the call; `null` when none was given.

***

### username

> **username**: `string`

Defined in: [extensions/centralauth.ts:213](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/centralauth.ts#L213)

The user name a local account was created for.
