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



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*