> For the complete documentation index, see [llms.txt](https://aptitude.gitbook.io/zaubercms/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aptitude.gitbook.io/zaubercms/creating-a-website/users-and-roles.md).

# Users & Roles

ZauberCMS uses the built in Identity system to .Net and Blazor, there are some quirks using it with Blazor, and you can read more below.

{% content-ref url="/pages/U5zpaCHaG7rOSXBJwvrM" %}
[Identity](/zaubercms/identity/overview.md)
{% endcontent-ref %}

### Users

Users lists everyone who has registered for your website, whether they are an admin or not. You can filter via role, and click on the user to edit their content (See below) or change their roles, to update their email address.

### Roles

Roles work like any other .Net application, and you can create specific roles for specific use cases. When there are no users on the site (i.e. First install) the first user to register will be assigned an admin role and you will be redirected to the admin.

Any subsequent user who registers, will be assigned the default role (Member) that is set in the appSettings.

```
"NewUserStartingRole": "Member",
```

If you want users to use a different default role name, then change it here.&#x20;

### User & Role Content

Just like Content, you can assign Content Types to roles. So any user in a specific role will get that content.&#x20;

This is different from the main content, as you can add many roles to a user, meaning the User will get all the properties from all Roles. If a role is removed, the properties are removed.

#### Querying / Getting Data

You use exactly the same syntax with a User as you do Content to get the data, read the below&#x20;

{% content-ref url="/pages/3WRKOGBqfUMeQeOvRWEF" %}
[Querying Data](/zaubercms/creating-a-website/querying-data.md)
{% endcontent-ref %}

<figure><img src="/files/uZXBfQhH4sunZ2e7SyuE" alt=""><figcaption><p>Example of adding an RTE to a Role</p></figcaption></figure>

<figure><img src="/files/S8SxiTY5q8FxL0ywuQPx" alt=""><figcaption><p>Example of the RTE being shown on a User in the Admin role</p></figcaption></figure>


---

# 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://aptitude.gitbook.io/zaubercms/creating-a-website/users-and-roles.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.
