Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

RBACRole - getRoleIdByName


RBACRole - getRoleIdByName

Description :

This command gets the role ID for a role by name. Certain commands expect a role ID as input. For these, you can use this command to convert the role name to a role ID. This command returns an integer representing the role ID of the specified role.

Return type : Integer

Command Input :

Variable Name

Variable Type

Description

roleName

String

Name of the role.

Example

The following example gets the role ID for the role BLAdmins.

Script





blcli RBACRole getRoleIdByName "BLAdmins"



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Server Automation Command Line Interface 20.02