UpdatePassword(String):Void
Updates the password of the user.
There is no validation in this method as to whether the user entered the correct password. This must be checked beforehand by the application using appropriate mechanisms.
Passwords can either be set for oneself or in the case that the executing user has more permissions than the user for whom the password is to be updated.
The hierarchy for the permission of updating the password for another user is as follows:
- The password for normal users can be set by user managers.
- The password for user managers can be set by administrators.
- The password for administrators can only be set by the user admin.
The new password is immediately active after calling the method.
Return type: System.Void
Parameter
- newPassword
Type: System.String