> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.15/reference-docs/reference/server-configurations/users-and-roles-server-configurations.md).

# Users and Roles Server Configurations

Reference Cortex XSOAR 6.15 server configurations for users and roles.

| Key                                          | Description                                                                                                                                                                                                                                                                                                                                     | Default           |
| -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- |
| **`builtin.commands.hidden.clearUsersData`** | Set to **`false`** to run the **`clearUserData`** command in the CLI and playbook.                                                                                                                                                                                                                                                              | **`true`**        |
| **`clear.users.data.job.enabled`**           | Set to **`true`** to clear the user's data.                                                                                                                                                                                                                                                                                                     | **`false`**       |
| **`clear.users.data.job.time`**              | Sets the time to run in Cron format to clear the users data. Default is every Sunday at 12AM. For example to run every minute, enter **`*/1 * * * *`**.                                                                                                                                                                                         | **`0 0 * * SUN`** |
| **`clear.users.data.job.userslist`**         | The name of the list that you need to create to remove users data after you have deleted the user.                                                                                                                                                                                                                                              | N/a               |
| **`clear.users.data.job.clear.list`**        | Set to **`true`** to delete the list after the data is cleared.                                                                                                                                                                                                                                                                                 | **`false`**       |
| **`clear.users.data.job.username`**          | The name of the replacement user.                                                                                                                                                                                                                                                                                                               | **`admin`**       |
| **`server.mask.git.commits`**                | Set to **`true`** to remove the users data from the git commit version that the user created (version control).                                                                                                                                                                                                                                 | **`false`**       |
| **`ExpireAfter`**                            | The number of the unit you want to expire in a password policy. For example, 4 hours, 4 days, etc. Numeric settings are disabled with a 0 value. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/password-policy.md#UUID-01c32052-95b2-7bd7-0134-d0ca166619af). | **`0`**           |
| **`ExpireUnit`**                             | The unit for a password policy to expire. Values are **`month`**, **`week`**, and **`day`**. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/password-policy.md#UUID-01c32052-95b2-7bd7-0134-d0ca166619af).                                                     | **`month`**       |
| **`MaxFailedLoginAttempts`**                 | How many attempted logins within one minute for a password policy. For example, 10 failed logins within one minute. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/password-policy.md#UUID-01c32052-95b2-7bd7-0134-d0ca166619af).                              | **`10`**          |
| **`MinDigitsOrSymbols`**                     | The minimum digits or symbols for a password policy. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/password-policy.md#UUID-01c32052-95b2-7bd7-0134-d0ca166619af).                                                                                             | **`1`**           |
| **`MinLowercaseChars`**                      | The minimum password length for a password policy. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/password-policy.md#UUID-01c32052-95b2-7bd7-0134-d0ca166619af).                                                                                               | **`1`**           |
| **`MinPasswordLength`**                      | The minimum password length for a password policy. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/password-policy.md#UUID-01c32052-95b2-7bd7-0134-d0ca166619af).                                                                                               | **`8`**           |
| **`MinUppercaseChars`**                      | The minimum upper case characters for a password policy. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/password-policy.md#UUID-01c32052-95b2-7bd7-0134-d0ca166619af).                                                                                         | **`1`**           |
| **`PreventRepitition`**                      | Whether to prevent repetition for a password policy. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/password-policy.md#UUID-01c32052-95b2-7bd7-0134-d0ca166619af).                                                                                             | **`true`**        |
| **`SetUnlockAfterMinutes`**                  | User unlocks automatically after x minutes (if 0, only an administrator can unlock) for a password policy. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/users-and-roles/password-policy.md#UUID-01c32052-95b2-7bd7-0134-d0ca166619af).                                       | **`0`**           |
| **`create.read.only.users`**                 | Allow read-only users.                                                                                                                                                                                                                                                                                                                          | **`false`**       |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.15/reference-docs/reference/server-configurations/users-and-roles-server-configurations.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
