RBACRole - addAuthorizationToRoleByName_1
This command adds an authorization directly to a role (without using an authorization profile). Authorizations define what operations the role is allowed to perform. For example, the authorization "DeployJob.Execute" allows a role to execute Deploy Jobs.
A related command is removeAuthorizationFromRoleByName .
For a complete list of authorizations, see the BMC BladeLogic Users Guide. This command returns the name of the role to which the authorization was added.
Return type : String
Command Input :
Name of the role to which you want to add an authorization.
Name of the authorization to add.
name of the authorization type (system,nsh,nexec)
The following example allows the role BLAdmins to perform the nsh command grep.
blcli RBACRole addAuthorizationToRoleByName "BLAdmins" "grep" "nsh"