> 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/command-centre-client/using-command-centre/working-with-viewers/tile-actions/cardholder-cards-tile-actions/assigning-a-card-via-an-encoder.md).

# Assigning a card via an Encoder

To assign a Card directly from a Mifare USB encoder to an existing Cardholder, click the **Assign Card from Encoder** button.

**Note:**

<table><thead><tr><th width="191">The Assign Card from Encoder button will be...</th><th>if....</th></tr></thead><tbody><tr><td>enabled</td><td><ul><li>the operator has New/Edit cardholder privileges to create a new Cardholder and a new Card</li><li>the Card is Mifare classic, Mifare Plus or DESFire EV1 / EV2</li><li>the Card has valid Gallagher Data/has been encoded.</li></ul></td></tr><tr><td>disabled</td><td>the Encoder is not functioning or unplugged, or there is no card on the Encoder.</td></tr></tbody></table>

If no matched Card Type is found, the Unknown Card Type pop-up opens.

![](https://2455150842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6UYAoyykM6nimMN9yss%2Fuploads%2Fgit-blob-28f84d32dafb32f63af80a976f0aa36ecf300824%2Funknowncardtype_popup.png?alt=media)

If there is only one matched Card Type found and the card has not been assigned to any Cardholder, clicking the **Assign Card from Encoder** button will create a new card and assign the card to the currently displayed Cardholder right away.

If the card has been assigned to any Cardholder but multiple matched Card Types are found, a Select Card Type pop-up opens.

![](https://2455150842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6UYAoyykM6nimMN9yss%2Fuploads%2Fgit-blob-da7661779d002a4962dd19836b4c3d4212cda88e%2Fselectcardtype_popup.png?alt=media)

If you click the **OK** button, a new Card is created and assigned to the currently displayed Cardholder.

<table><thead><tr><th width="211">If the card has been assigned to a cardholder...</th><th>then...</th></tr></thead><tbody><tr><td>but with a different issue level,</td><td>a <strong>Card Assignment Warning</strong> pop-up opens with the message <em>"this card is already assigned to another cardholder but with a different issue level"</em>.</td></tr><tr><td>and you have the "Edit Cardholder" privilege on the Cardholder,</td><td>the following <strong>Card Assignment Warning</strong> pop-up opens:<br><img src="https://2455150842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6UYAoyykM6nimMN9yss%2Fuploads%2Fgit-blob-eea2d3e9828790390274dd58ec044da46b04647a%2Fcardassignmentwarning_popup.png?alt=media" alt=""><br>If you click the <strong>Continue</strong> button, the existing Card will be removed from the current owner and assigned to the currently displayed Cardholder.</td></tr><tr><td>and you do NOT have the "Edit Cardholder" privilege on the Cardholder,</td><td>a <strong>Card Assignment Warning</strong> pop-up opens with the message <em>"this card is already assigned to another cardholder and you do not have the privilege to remove Card from the Cardholder".</em></td></tr></tbody></table>


---

# 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/command-centre-client/using-command-centre/working-with-viewers/tile-actions/cardholder-cards-tile-actions/assigning-a-card-via-an-encoder.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.
