Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

users.changePassword

users.changePassword

This method offers alternative signatures:

users.changePassword(username, password, newPassword, keepTokens)

Signature

users.changePassword(username, password, newPassword, keepTokens)

Description

Changes the password of a user.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
username string The user's username.
password string The user's password.
newPassword string The user's new password.
keepTokens boolean If set to true, the user tokens will be preserved even after the password change.


users.changePassword(username, password, newPassword, keepTokens, [success], [error])

Signature

users.changePassword(username, password, newPassword, keepTokens, [success], [error])

Description

Changes the password of a user.

Parameters

Parameter Name Type Description
username string The user's username.
password string The user's password.
newPassword string The user's new password.
keepTokens boolean If set to true, the user tokens will be preserved even after the password change.
[success] function A success callback.
[error] function An error callback.


Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.