RBACUser - addPermission
RBACUser - addPermission
Description :
This command adds a permission to a user. Returns the ACL.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
name | String | Name of the user whose ACL you want to change. |
roleName | String | Name of the role. |
authName | String | Name of the authorization. |
Example
The following example adds a specific permission to the specified user:
Script
blcli RBACUser addPermission sampleUser myRole "Role.Read"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*