RBACRole - removeAuthorizationFromRoleByName_1
RBACRole - removeAuthorizationFromRoleByName
Description :
This command removes an authorization (for example, Server.*) from a role.
The only type of authorization that this command can remove is one that was directly added to a role through a command like addAuthorizationToRoleByName . Any authorization that was applied to a role through an authorization profile or rights profile will not be affected. This command returns the name of the role from which the authorization was removed.
Return type : String
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
roleName | String | Name of the role whose authorization you want to remove. |
authName | String | Authorization to remove. |
authTypeName | String | Name of the authorization type (system,nsh,nexec) |
Example
The following example removes the nsh authorization grep from the role BLAdmins.
Script
blcli RBACRole removeAuthorizationFromRoleByName "BLAdmins" "grep" "nsh"
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.