> 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.12/reference-docs/reference/server-configurations/users-and-roles-server-configurations.md).

# Users and Roles Server Configurations

| 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.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy.md#UUID-d41f2c57-fa7b-b0b6-9b9f-1b2060547474). | **`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.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy.md#UUID-d41f2c57-fa7b-b0b6-9b9f-1b2060547474).                                                     | **`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.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy.md#UUID-d41f2c57-fa7b-b0b6-9b9f-1b2060547474).                              | **`10`**          |
| **`MinDigitsOrSymbols`**                     | The minimum digits or symbols for a password policy. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy.md#UUID-d41f2c57-fa7b-b0b6-9b9f-1b2060547474).                                                                                             | **`1`**           |
| **`MinLowercaseChars`**                      | The minimum password length for a password policy. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy.md#UUID-d41f2c57-fa7b-b0b6-9b9f-1b2060547474).                                                                                               | **`1`**           |
| **`MinPasswordLength`**                      | The minimum password length for a password policy. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy.md#UUID-d41f2c57-fa7b-b0b6-9b9f-1b2060547474).                                                                                               | **`8`**           |
| **`MinUppercaseChars`**                      | The minimum upper case characters for a password policy. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy.md#UUID-d41f2c57-fa7b-b0b6-9b9f-1b2060547474).                                                                                         | **`1`**           |
| **`PreventRepitition`**                      | Whether to prevent repetition for a password policy. For more information, see [Default Password Policy Keys](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy.md#UUID-d41f2c57-fa7b-b0b6-9b9f-1b2060547474).                                                                                             | **`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.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy.md#UUID-d41f2c57-fa7b-b0b6-9b9f-1b2060547474).                                       | **`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 current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
