updateUser() Method

In SecurityService, use the updateUser() method to update a user's password in Publisher.

This method returns a boolean value of the success of the method.

Signature

boolean updateUser(String currentUsername, String newPassword, String adminUser, String adminPassword);

Parameters for updateUser() Method

Parameter Description

String currentUserName

The user name to update.

String newPassword

The new password to assign to the user name.

String adminUser

The user name for a user with administration privileges.

String adminPassword

The password for the administration user name.