show user information

Syntax

show user information

Description

Shows the following information for the logged-in user:

  • User name.

  • User authentication type: local, RADIUS, or TACACS+.

  • User group: administrators, operators, or <GROUP-NAME>.

  • User privilege level: For the built-in user groups and RADIUS or TACACS+, the role privilege level value is shown. For user-defined user groups, N/A is shown.

Command context

Operator (>) or Manager (#)

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

Showing information for the admin user:

switch# show user information
Username             : admin
Authentication type  : Local
User group           : administrators
User privilege level : 15

Showing information for a member of the user-defined local user group admuser2:

switch# show user information
Username             : admin2-b
Authentication type  : Local
User group           : admuser2
User privilege level : N/A

Showing information for a member of operators:

switch# show user information
Username             : operator
Authentication type  : Local
User group           : operators
User privilege level : 1

Showing information for remote RADIUS user rad_user1 mapped to local user group administrators:

switch# show user information
Username             : rad_user1
Authentication type  : RADIUS
User group           : administrators
User privilege level : 15

Showing information for remote RADIUS user rad_user2 mapped to local user group operators:

switch# show user information
Username             : rad_user2
Authentication type  : RADIUS
User group           : operators
User privilege level : 1

Showing information for remote TACACS+ tac_user1 logged in with priv-lvl 15 (mapped to user group administrators):

switch# show user information
Username             : tac_user1
Authentication type  : TACACS+
User group           : administrators
User privilege level : 15