Applying an Accounting Method to a RoleTo apply an accounting method list to a role executed by a user with that user role, use the accountingcommand in LINE mode.accounting {exec | commands {level | role role-name}} method-listExample of Applying an Accounting Method to a RoleThe following example applies the accounting default method to the user role secadmin (securityadministrator).Dell(conf-vty-0)# accounting commands role secadmin defaultDisplaying Active Accounting Sessions for RolesTo display active accounting sessions for each user role, use the show accounting command in EXECmode.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 showuserroles and show users commands in EXEC privilege mode.Examples of Displaying User RolesDell#show userrolesRole Inheritance Modesnetoperator Execnetadmin Exec Config Interface Line Router IP RoutemapProtocol MACsecadmin Exec Configsysadmin Exec Config Interface Line Router IP Routemap752 Security