---
title: Sharing user accounts between sites
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

User accounts can be shared among all sites running on one Kentico instance. This means that if users create accounts on one site, they can automatically sign in to other sites running on the same instance using the same credentials.

This behavior can be switched on or off in **Settings -> Membership & Security**, using the **Share user accounts on all sites** check box.

- If the check box is selected, user accounts created on one site are shared among all the sites running on the instance.
- If the check box is cleared, the system only assigns new accounts to the current site and not the others.

However, registration web parts have the **Assign to sites** property. Using this property, you can determine which sites the user accounts created via the web part are assigned to.

> **Note:** **User name prefixes and shared accounts**
>
> If your instance has the **Use site prefixes for user names** setting enabled (can also be configured in **Settings -> Security & Membership**), avoid shared user accounts. Prefixes allow the creation of users with names that are not globally unique, and always bind each user to a specific site.
>
> If the **Share user accounts on all sites** setting is enabled or you manually assign users to multiple sites (for example when editing users in the **Users** application on the **Sites** tab), you may encounter incorrect behavior or problems with multiple identical users names on a single site.
