Displaying Active Accounting Sessions for RolesTo display active accounting sessions for each user role, use the show accounting command in EXEC mode.Example of Displaying Active Accounting Sessions for RolesDell#show accountingActive accounted actions on tty2, User john Priv 1 Role netoperatorTask ID 1, EXEC Accounting record, 00:00:30 Elapsed,service=shellActive accounted actions on tty3, User admin Priv 15 Role sysadminTask ID 2, EXEC Accounting record, 00:00:26 Elapsed,service=shellDisplay Information About User RolesThis section describes how to display information about user roles.This sections consists of the following topics:• Displaying User Roles• Displaying Information About Roles Logged into the Switch• Displaying Active Accounting Sessions for RolesDisplaying User RolesTo display user roles using the show userrole command in EXEC Privilege mode, use the show userroles and showusers commands in EXEC privilege mode.Examples of Displaying User RolesDell#show userrolesRole Inheritance Modesnetoperator Execnetadmin Exec Config Interface Line Router IP Routemap Protocol MACsecadmin Exec Configsysadmin Exec Config Interface Line Router IP Routemap ProtocolMACtestadmin netadmin Exec Config Interface Line Router IP Routemap Protocol MACDisplaying Role Permissions Assigned to a CommandTo display permissions assigned to a command, use the show role command in EXEC Privilege mode. The output displays theuser role and or permission level.Examples of Role Permissions Assigned to a CommandDell#show role mode ?configure Global configuration modeexec Exec Modeinterface Interface configuration modeline Line Configuration moderoute-map Route map configuration moderouter Router configuration modeDell#show role mode configure usernameRole access: sysadminDell##show role mode configure password-attributesRole access: secadmin,sysadmin662 Security