Changes the password of the given user.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean user.changepassword(string userName, string oldPassword, string newPassword)

Parameters

Name Data Type Description
userName String Name of the user.
oldPassword String The old password.
newPassword String The new password.

Return Value

Data Type Description
Boolean True if successful

Expand image Example

SXML