RBACRole - addAuthProfileToRoleByName
RBACRole - addAuthProfileToRoleByName
Description :
This command adds an authorization profile to a role.
A related command is removeAuthProfileFromRoleByName . This command returns the name of the role to which the authorization profile was added.
Return type : String
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
roleName | String | Name of the role to which you want to add an authorization profile. |
profileName | String | Name of the authorization profile to add. |
Example
The following example adds a profile called ServerAuths to the role BLAdmins.
Script
blcli RBACRole addAuthorizationProfileToRoleByName "BLAdmins" "ServerAuths"
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.