changePassword


Purpose

Changes a password for the user's account in the client, after it has been changed in the backend.

Note

This method does not enable changing the password to the backend.

Signature

changePassword( identifier, newPassword, oldPassword, callback )

Returns

This method does not return anything.

Parameters

Name Description Type Use
identifier Specifies the name of the account. string required
newPassword Specifies a new password for the account. string optional
oldPassword Specifies an old password for the account. string required
callback Passed while sending a reply to the request referring to an account and its public user data. object required

Note

Please refer the addAccount article for detailed information on the callback, its structure and methods.

Related topics

Public API reference
AccountManager
Legal notice | Copyright © 2018 and Confidential to Pegasystems Inc. All rights reserved
PDN | Feedback
Advanced...