---
title: User management
description: View and manage user details, edit information, and perform actions in the user dashboard.
sidebar:
  order: 3
---

## Overview

With the user management dashboard you can view the list of users and their details.
You can also perform different operations on these users as mentioned below.

--- 

## Create users

If you have created your app, you may not have any users to show on the dashboard.

<img src="/docs-assets/img/dashboard/no-users.png" alt="Empty dashboard screen UI" />

## List users

Navigate to your frontend app and create a user (via the sign-up flow). On creation, if you head back to the dashboard and refresh the page, you see that user:

<img src="/docs-assets/img/dashboard/one-user.png" alt="One user in dashboard screen UI" />

---

## View user details

When you select a user you can view detailed information about the user such as email, phone number, user metadata, etc.

<img src="/docs-assets/img/dashboard/user-info.png" alt="User details page screen UI part one" />

<img src="/docs-assets/img/dashboard/user-info-continued.png" alt="User details page screen UI part two" />

---

## Edit user details

You can edit user information and perform actions such as resetting a user's password or revoking sessions for a user.

<img src="/docs-assets/img/dashboard/reset-password.png" alt="Change password modal UI" />

:::info[Note]
Enable some features such as user metadata and email verification in your backend before you can use them in the user management dashboard.
:::

---

## Create user roles and permissions

:::warning
This feature is only available through the Node.js SDK.
:::

When you first use the `UserRoles` recipe, the list of roles is empty. To create roles, click on the "Add Role" button.

<img src="/docs-assets/img/dashboard/no-roles-created.png" alt="No roles created"/>

This action opens a modal, enabling you to create a role along with its associated permissions. Permissions are essentially a list of strings assigned to a specific role.

---

## List user roles 

:::warning
This feature is only available through the Node.js SDK.
:::

<img src="/docs-assets/img/dashboard/create-role.png" alt="Create role"/>

After creating a role, the UI should display a list of all roles in your app.

<img src="/docs-assets/img/dashboard/roles-list.png" alt="Roles list"/>

You can preview the role you created by clicking on the role row. The modal provides options to edit or delete the role.

<img src="/docs-assets/img/dashboard/preview-role.png" alt="Preview role"/>

---

## Assign user roles

:::warning
This feature is only available through the Node.js SDK.
:::

To assign a specific role to a user, start by finding the user in the dashboard. Upon clicking the user, navigate to the user details page where you find a section for user roles.

If the selected user has associations with multiple tenants, you can choose a `tenantId` from the dropdown menu to specify the tenant for which you'd like to assign roles.

<img src="/docs-assets/img/dashboard/select-tenant.png" alt="Select tenant"/>

Click the edit button to start assigning roles. Then, select the "Assign Role" button, and a modal appears with a list of available roles for assignment to this user.

<img src="/docs-assets/img/dashboard/assign-role.png" alt="Assign role"/>

--- 

## Remove user roles

:::warning
This feature is only available through the Node.js SDK.
:::


To remove a role assigned to a user, click on the "X" icon next to that specific role.

<img src="/docs-assets/img/dashboard/view-assigned-roles.png" alt="View assigned role"/>
