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

Defined in: [extensions/centralauth.ts:211](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/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/d354a9c689faf74c19e13b617a83dcdb7a83726f/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/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/centralauth.ts#L213)

The user name a local account was created for.
