createRole() Method
In SecurityService, use the createRole() method to create a role in Publisher.
Signature
boolean createRole(String roleName, String description, String adminUser, String adminPassword);
Parameters for createRole() Method
| Parameter | Description |
|---|---|
|
String roleName |
The name of the role to create. For example, Financial Users. |
|
String description |
The description of the role. |
|
String adminUser |
The user name for a user with administration privileges. |
|
String adminPassword |
The password for the administration user name. |