RBACRole - getRoleKeyByName
RBACRole - getRoleKeyByName
Description :
This command gets a handle for a role by name. Certain commands expect a role handle as input. For these, you can use this command to convert the role name to a role handle. This command returns a handle to the specified role.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
roleName | String | Name of the role. |
Example
The following example gets a handle for a role specified by name:
Script
blcli RBACRole getRoleKeyByName myRole
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*