# user.setup_local_administrator

Set up local administrator (this method does not require authentication if local administrator is not already set up).

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: username

#### username

Type: enum (of string)

##### Must be one of:

- "root"
- "truenas_admin"

##### Parameter 2: password

#### password

Type: string

##### Parameter 3: options

#### options

Type: object Default: {"ec2": null}
No Additional Properties

##

Default: null

## Any of

#### UserSetupLocalAdministratorEC2Options

Type: object
No Additional Properties

##

#### Instance Id

Type: string

Must be at least `1` characters long

Type: null

##

#### Result

Type: null

Required roles: