Login.updatePassword (Method)

Updates the password for the current user.

Returns:

Void

Arguments:

Name Type Required Description
oldPassword Password Required The user's old password.
newPassword NewPassword Required The user's new password.

Context:

License Requirements None
Permission Requirements Authenticated
Deny Context None
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the customer level, calls to this method will be logged
Customization This method may be customized at the customer level

Error Codes:

Code Error Message
29000  
1000500 The new password cannot be same as the old password.
1000502 The old password is not valid.
1000503 The user name and password cannot be the same.

Notes:

None