You are here

changePassword

changePassword(oldpassword, newpassword) changes the password for the current user only when the old password is supplied.

Parameters

oldpassword
A string representing the currently logged in user's current password.
newpassword
A string representing the currently logged in user's new password.

Example

  people.changePassword("oldpwd", "newpwd");
      

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.