> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/configuration-client/site-installation/server-properties/user-codes-and-pins.md).

# User Codes and PINs

### Introduction

This tab allows a site to:

* set the minimum length of User Codes for your site.

  Cardholders can be assigned User Codes for logging on to Remote Arming Terminals with no associated readers. User Codes can be 4-8 digits in length.

  **Note:** User Codes can also be used as PINs for any reader with a keypad. This is set via a checkbox on the **Connections** tab of the reader properties.
* disable a card or credential when a PIN has been entered incorrectly at a T2x reader too many times.

### Procedure

1. Open the **Command Centre Server Properties** window. [How?](https://help.security.gallagher.com/knowledge-hub/configuration-client/site-installation/server-properties/opening-the-server-properties-window.md)
2. Click the **User Codes and PINs** tab.

   ![](https://3000903572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCvaxj3suxNBzdwQndVT%2Fuploads%2Fgit-blob-18040e2825af2a244bf03fa2434691963b9ac7a4%2Fusercodestab.png?alt=media)
3. Select the minimum number of digits you require for your sites user codes from the drop-down list.
4. If you require credentials to be disabled when a PIN is entered incorrectly at a T2x reader too many times, ensure the **Disabled credential if PIN is entered incorrectly** checkbox remains checked and enter the appropriate **Number of incorrect PIN entries** allowed and how many minutes **Access disabled for**.

   **Notes:**

   * This feature also locks out a user if their 'User Code is used as a PIN' and they enter it incorrectly for access.
   * On a clean install for sites with a NPSA license, the default values are:

     **Number of incorrect PIN entries** = 3

     **Access disabled for (mins)** = 15

     Any changes made to these default values will be retained after an upgrade.
5. The **Enable Duress for PINs, User Codes and Code Only Codes** checkbox is ticked by default.

   When unticked, system access will not be allowed and Duress Alarms will not be generated upon entering Duress PIN/User Code/Code Only Codes.
6. Click **OK** to exit and save your changes.

   Click **Cancel** to exit without saving your changes.

   Click **Apply** to save your changes and stay in this window.


---

# 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 by asking a question.

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

```
GET https://help.security.gallagher.com/knowledge-hub/configuration-client/site-installation/server-properties/user-codes-and-pins.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 `automate deployments from our CI pipeline` 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.
