Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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"
Was this page helpful? Yes No Submitting... Thank you

Comments