> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# View Roles Assigned to Users

> Learn how to view roles assigned to a user using the Auth0 Dashboard or the Management API.

You can view the [roles](/docs/docs/manage-users/access-control/rbac) assigned to a user using Auth0's Dashboard. This task can also be performed using the Management API (Management API: A product to allow customers to perform administrative tasks.). The assigned roles are used with the API Authorization Core feature set.

## Prerequisites

For role-based access control (RBAC) to work properly, you must enable it for your API using either the Dashboard or the Management API. The Authorization Core functionality is different from the Authorization Extension. For a comparison, read [Authorization Core vs. Authorization Extension](/docs/docs/manage-users/access-control/authorization-core-vs-authorization-extension).

## Dashboard

1. Go to [Dashboard > User Management > Users](https://manage.auth0.com/#/users) and click the name of the user to view.
2. Click the **Roles** tab.

The following information is displayed for each role:

| Column | Description |
| - | - |
| Name | Name of the role from the role definition. |
| Description | Description of the role from the role definition. |

## Management API

Make a `GET` call to the [Get User Roles endpoint](/docs/docs/api/management/v2/users/get-user-roles). Be sure to replace `USER_ID` and `MGMT_API_ACCESS_TOKEN` placeholder values with your user ID and Management API access token (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.), respectively.

Using the Auth0 CLI? If you haven't already, [set up and authenticate your CLI session](/docs/docs/deploy-monitor/auth0-cli) before running this command.

| Value | Description |
| - | - |
| `USER_ID` | Τhe ID of the user for whom you want to get roles. |
| `MGMT_API_ACCESS_TOKEN` | [Access Token for the Management API](/docs/docs/secure/tokens/access-tokens/management-api-access-tokens) with the scopes `read:users` and `read:roles`. |

## Learn more

* [View User Details](/docs/docs/manage-users/user-accounts/view-user-details)
