HomeGuidesRecipesAPI ExplorerForumSupport
Partner Portal
Partner Portal

UserRoles

The UserRoles component is a comprehensive React component that displays all user roles created by an entity and their given permissions.


📘

Permissions

To access this component, the entity user must have read permissions for the role object. For more information, see List of permissions.

Preview

`TagsTable` component preview.

UserRoles component preview.

Usage

Use the UserRoles component in your application as shown:

import { UserRoles } from "@monite/sdk-react"

// This component must be rendered within the MoniteProvider wrapper
const UserRolesPage = () => {
  return <UserRoles />;
};