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" 



Was this page helpful? Yes No Submitting... Thank you

Comments