System.Security.changePassword¶
Description¶
Change password of the currently logged in user.
Grammar¶
System.Security.changePassword(oldPassword:string,newPassword:string): Promise
- Parameter
oldPassword Old password
newPassword New password
- Return
Whether the password was successfully changed
Code Example¶
Change the password of the currently logged in user from "abc123" to "abc456".