# Local users

First, access the Keycloak admin console with the instructions provided on the page [Accessing Keycloak admin console](/akamas-docs/3.5.0/managing-akamas/users-management/accessing-keycloak-admin-console.md).

<figure><img src="/files/OUr2RLTIteKNupSX4VFG" alt=""><figcaption></figcaption></figure>

On the Authentication page, select the "direct grant flow" and scroll the "User session count limiter" entry.

<figure><img src="/files/D7xwV3PfchHwxcJkZomW" alt=""><figcaption></figcaption></figure>

On the row "User session count limiter", click on the cog icon. From here you can choose the maximum concurrent sessions for each user, and the behavior when the maximum number is reached. Select "Deny new session" to deny new accesses. if previous sessions are not properly terminated, you may need to delete them from the Keycloak console under the Users section.

<figure><img src="/files/ekwQzMLkYkyYdLTxHPCO" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.akamas.io/akamas-docs/3.5.0/managing-akamas/users-management/limit-users-sessions/local-users.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
