user-role-show
This command is used to display a list of users and the assigned roles.
Syntax user-role-show user-name name-string role role-name
user-name name-string |
Specify a name for the user. |
Specify the following role arguments: |
|
role role-name |
Specify a role for the user. |
Defaults None.
Access CLI
History Command introduced in nvOS Version 1.2.1.
Usage Users must hold the proper credentials to manage a switch, cluster, or fabric. Use this command to display roles assigned to users.
Examples To display a list of users and their roles, use the following command:
CLI network-admin@switch > user-role-show
switch user-name role
-------- ------------- -------------
network-admin network-admin
pubdev02 lab-admin lab-admin