viewRolePermissions CLI command

Use the viewRolePermissions command to display the access level for each GUI page for the specified role. You can send the command output to a text file that can be edited and used as input to the setRolePermissions command.

Syntax

viewRolePermissions -role <roleName> > <filename.txt> > <output-filename.csv> -ssl
Note: You must have the Administrator role to run this command.

Parameters

-role <roleName>

(Required.) The name of the role for which the access levels will be output.

> <filename.txt>

(Optional.) Use this option to send the command output to a text file that can be edited and used as input for the setRolePermissions command. The file is stored in the same directory as the TS4500CLI.jar file. To save the file in a different directory, specify the path to that directory. If you don't specify a filename, the output is sent to your display.

> <output-filename.csv>
(Optional.) Instead of sending the command output to your display, this option sends the output to a .csv (comma-separated variable) file that can be opened and saved in a spreadsheet. By default, the file is saved in the directory where the CLI jar file is stored. To save the file in a different directory, specify the path to that directory.
Note: This file cannot be used with the setRolePermissions command.
-ssl
Required if SSL (HTTPS) is enabled.

Example command

viewRolePermissions -role administrator > administrator_permissions.txt

Example output


                           Action,      Access Level
                       Cartridges,      No Access
    Cartridges by Logical Library,      No Access
             Cleanning Cartridges,      No Access
                           Drives,      No Access
        Drives by Logical Library,      No Access
              Email Notifications,      Read Only
                 Email Recipients,      Read Only
              Encryption Internal,      Read Only
               Encryption Manager,      Read Only
                   Ethernet Ports,      No Access
                           Events,      No Access
              Library Information,      No Access
               Licensed Functions,      No Access
                Logical Libraries,      Read Only
          Management GUI Behavior,      No Access
                   Master Console,      No Access
                   Password Rules,      Read Only
            Remote Authentication,      Read Only
                            Roles,      No Access
                    SNMP Requests,      Read Only
                       SNMP Traps,      Read Only
                       Scan Speed,      Modify
              Secure Socket Layer,      Read Only
                     Service Port,      Modify
            Syslogs Notifications,      Read Only
                           System,      Modify
             System Date and Time,      Modify
                            Tasks,      Modify
                            Users,      No Access
                    VOLSER Ranges,      Read Only
 VOLSER Ranges by Logical Library,      Read Only