users.setPassword

users.setPassword

This method offers alternative signatures:

users.setPassword(setPasswordObject)

Signature

users.setPassword(setPasswordObject)

Description

Set a new password for a user using a password reset code.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
setPasswordObject object The object, which contains information necessary for changing the user password.
setPasswordObject.ResetCode string The reset code obtained using a password reset email.
setPasswordObject.NewPassword string The new password for the user.


users.setPassword(setPasswordObject, [success], [error])

Signature

users.setPassword(setPasswordObject, [success], [error])

Description

Set a new password for a user using a password reset code.

Parameters

Parameter Name Type Description
setPasswordObject object The object, which contains information necessary for changing the user password.
setPasswordObject.ResetCode string The reset code obtained using a password reset email.
setPasswordObject.NewPassword string The new password for the user.
[success] function A success callback.
[error] function An error callback.


users.setPassword

This method offers alternative signatures:

users.setPassword(setPasswordObject)

Signature

users.setPassword(setPasswordObject)

Description

Set a new password for a user using a password reset code.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
setPasswordObject object The object, which contains information necessary for changing the user password.
setPasswordObject.Username number The username that the password will be changed.
setPasswordObject.SecretQuestionId number The id of the secret question.
setPasswordObject.SecretAnswer string The answer to the secret question.
setPasswordObject.NewPassword string The new password for the user.


users.setPassword(setPasswordObject, [success], [error])

Signature

users.setPassword(setPasswordObject, [success], [error])

Description

Set a new password for a user using a password reset code.

Parameters

Parameter Name Type Description
setPasswordObject object The object, which contains information necessary for changing the user password.
setPasswordObject.Username number The username that the password will be changed.
setPasswordObject.SecretQuestionId number The id of the secret question.
setPasswordObject.SecretAnswer string The answer to the secret question.
setPasswordObject.NewPassword string The new password for the user.
[success] function A success callback.
[error] function An error callback.


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