> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create User

Create a new user in the CyberArk Identity Cloud Directory.

**At least one** of the following parameters is required:

* `Username`
* `Primary Identifier`

**Required Permissions**:

* `User Management`

**Note**: System administrators have this right by default.

<Note>
  External Documentation

  To learn more, visit the [CyberArk - Idira Identity documentation](https://api-docs.cyberark.com/identity-docs-api/docs/cdirectory-service-api#/Create%20Users/create-user).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                                                                                                                                                      |
  | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Description        | The description of the user.                                                                                                                                                                                                                     |
  | Display Name       | The display name of the user.                                                                                                                                                                                                                    |
  | Email              | The email address of the user.<br /><br />**For Example:** `mark@yahoo.com`                                                                                                                                                                      |
  | Password           | The initial password of the user. Must meet the tenant complexity requirements: between 8 and 64 characters, containing at least one digit, one uppercase letter, and one lowercase letter. When omitted, a random strong password is generated. |
  | Primary Identifier | The type of identifier the user logs in with. Providing it makes `Username` optional.                                                                                                                                                            |
  | Send Email Invite  | Select to send the user an email invite to log in to the portal.                                                                                                                                                                                 |
  | Username           | The username of the user to create. Use the `username@suffix` format when a login suffix is required, otherwise use `username`.<br /><br />**For Example:** `mark@aak7163`                                                                       |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                           |
  | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Additional Parameters | A JSON object for additional body parameters. Values specified in this parameter will override equivalent parameters.<br /><br />For example:<br /><pre><code>\{<br />    "first\_key": 12345,<br />    "second\_key": "some\_value"<br />}</code></pre>The object must follow the vendor's structure as defined in the [API documentation](https://api-docs.cyberark.com/identity-docs-api/docs/cdirectory-service-api#/Create%20Users/create-user). |
</div>

## Example Output

```json theme={"dark"}
{
	"success": false,
	"Result": "",
	"Message": "",
	"MessageID": "",
	"Exception": "",
	"ErrorID": "",
	"ErrorCode": "",
	"InnerExceptions": ""
}
```

## Workflow Library Example

[Create User with Cyberark   Idira Identity and Send Results Via Email](https://library.blinkops.com/workflows/create-user-with-cyberark---idira-identity-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-user-with-cyberark---idira-identity-and-send-results-via-email/canvas" />
</div>
