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 - addRole

RBACUser - addRole

Description :

This command adds a user to a role by specifying the user and the role. If the user is already in the specified role, this command does nothing.

Return type : java.lang.Object

Command Input :

Variable Name

Variable Type

Description

userName

String

User you want to add to a role.

roleName

String

Role to which you want to add a user.

Example

The following example adds the user Mike to the role CMAdmins.

Script





blcli RBACUser addRole Mike CMAdmins 



Was this page helpful? Yes No Submitting... Thank you

Comments