RBACUser - removeRole
RBACUser - removeRole
Description :
This command removes a user from a role by specifying the user and the role. If the user is not in the specified role, this command does nothing.
Return type : com.bladelogic.om.infra.model.rbac.RBACUser
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
userName | String | User you want to remove from role. |
roleName | String | Role you want to modify. |
Example
The following example removes the user Mike from the role CMAdmins.
Script
blcli RBACUser removeRole "Mike" "CMAdmins"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*