RBACUser - addRole
RBACUser - addRole
Description :
This command adds a user to a role by specifying the user and the role. If the user is already in the specified role, this command does nothing.
Return type : java.lang.Object
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
userName | String | User you want to add to a role. |
roleName | String | Role to which you want to add a user. |
Example
The following example adds the user Mike to the role CMAdmins.
Script
blcli RBACUser addRole Mike CMAdmins
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*