LIST ROLES

Syntax

[ LIST | SHOW ] [ USER ] ROLES;

Description

List available Roles within the current Organization or Roles that the authenticated user has been granted.

Arguments

USER

Optionally, list Roles that the current user is granted.

Examples

List Organization Roles

<no-db>/<no-store># LIST ROLES;
+------------+-------------------------------+-------------------------------+
|  Name      |  Created At                   |  Updated At                   |
+============+===============================+===============================+
| public     | 2024-05-03 04:17:51 +0000 UTC | 2024-05-03 04:17:51 +0000 UTC |
+------------+-------------------------------+-------------------------------+
| securityad | 2024-05-03 04:17:51 +0000 UTC | 2024-05-03 04:17:51 +0000 UTC |
| min        |                               |                               |
+------------+-------------------------------+-------------------------------+
| orgadmin   | 2024-05-03 04:17:51 +0000 UTC | 2024-05-03 04:17:51 +0000 UTC |
+------------+-------------------------------+-------------------------------+
| useradmin  | 2024-05-03 04:17:51 +0000 UTC | 2024-05-03 04:17:51 +0000 UTC |
+------------+-------------------------------+-------------------------------+
| sysadmin   | 2024-05-03 04:17:51 +0000 UTC | 2024-05-03 04:17:51 +0000 UTC |
+------------+-------------------------------+-------------------------------+

List user Roles

<no-db>/<no-store># LIST USER ROLES;
+---------------+-------------+---------------+
|  Name         |  Is Default |  Is Inherited |
+===============+=============+===============+
| orgadmin      | false       | false         |
+---------------+-------------+---------------+
| securityadmin | false       | true          |
+---------------+-------------+---------------+
| useradmin     | false       | true          |
+---------------+-------------+---------------+
| sysadmin      | true        | true          |
+---------------+-------------+---------------+
| public        | false       | true          |
+---------------+-------------+---------------+

Last updated