RBACRole - removeAuthorizationFromRoleByName


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.

Example

The following example removes the authorization Server.* from the role BLAdmins.

Script


blcli RBACRole removeAuthorizationFromRoleByName "BLAdmins" "Server.*"



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*