updateRole() Method

In SecurityService, use the updateRole() method to update the description of a role that currently exists in Publisher.

Signature

boolean updateRole(String currentRoleName, String newDescription, String adminUser, String adminPassword);

Parameters for updateRole() Method

Parameter Description

String currentRoleName

The name of the role to update.

String newDescription

The updated description of the role to apply.

String adminUser

The user name for a user with administration privileges.

String adminPassword

The password for the administration user name.