Create user
Create a user account in an organizational unit, optionally with a first password, and enable it.
Command in the Active Directory toolkit · id ooa.active_directory/create_user · 18 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Container (distinguished name) | String | No | Distinguished name of the organizational unit or container to create it in; the session's base (Connect) when empty. | |
| Username | String | Yes | Sign-in name (sAMAccountName, up to 20 characters). | |
| First name | String | No | Given name. | |
| Last name | String | No | Surname. | |
| Display name | String | No | Display name; also the object name. First and last name when empty. | |
| User principal name | String | No | User principal name (UPN). | |
| Password | Credential | No | First password from the vault (needs an ldaps:// connection); the account stays disabled without one. | |
| Enabled | Boolean | No | true | Enable the account once the password is set. |
| Must change password | Boolean | No | true | Require a password change at first sign-in. |
| Attributes | Dictionary | No | More attributes, e.g. {"mail": "jdoe@example.com", "department": "Finance"}. | |
| Session | String | No | ad | Session name. |
| Initials | String | No | Initials (up to 6 characters). | |
| User description | String | No | Description shown in the directory. | |
| Password never expires | Boolean | No | false | Create the account with a password that never expires (only when no change is required at first sign-in). |
| String | No | Email address (stored in mail). | ||
| Department | String | No | Department. | |
| Title | String | No | Job title. | |
| Cannot change password | Boolean | No | false | Stop the user from changing their own password (Active Directory only; only when no change is required at first sign-in). |
Outputs
| Output | Type | What it is |
|---|---|---|
| dn | String | Distinguished name of the new user. |