user_local_create
Create a local user account on FortiOS by providing a username and password, with options to set authentication type, two-factor, and VDOM.
Instructions
Create a new local user account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Username (must be unique). | |
| password | Yes | User password. | |
| status | No | Account status: enable or disable. | enable |
| auth_type | No | Authentication type: password, radius, ldap, tacacs+. | password |
| email_to | No | Email address for token delivery. | |
| sms_phone | No | SMS phone number. | |
| two_factor | No | Two-factor auth: disable, fortitoken, email, sms. | disable |
| vdom | No | Target VDOM name. Defaults to the server default VDOM. Use '*' for all VDOMs (super-admin required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||