list roles

The list roles command lists the current roles of a user for the current working project.

Syntax

list roles [for <user name>]

Parameters

Parameter
Description

<user name>

The user's login name

  • If you do not specify the user name, the command will list the roles for the current logged-in user.

  • If you do not set the current project, the command will display only system-level roles that have been granted.

  • If you set the current project, the output will include both system-level and project-level roles.

Example

Last updated