![]() | UserManagementServiceupdateUserPasswordExt Method |
Namespace: (Default Namespace)
public ResultLogin updateUserPasswordExt( string authKey, string userID, string oldPassword, string newPassword )
Exception | Condition |
---|---|
ApplicationException | Invalid authorization key |
ApplicationException | The password for LDAP authenticated users cannot be changed through web services |
ApplicationException | The password for the schema owner cannot be changed through web services |
ApplicationException | Only an administrator can change other users passwords |
ApplicationException | Invalid username or password |
A new password may not be accepted if it does not meet the valid password rules defined. Check ResultLogin.ErrorType for a list of errors. ResultLogin.Message will contain the password rules that were violated. This text can be displayed to the user, if desired.
For a complete text representation of the valid password rules, see the getPasswordErrorMessageText method.
For a list of possible errors and warnings, see ResultLogin.ErrorType.
The authorization key provided must be linked to an administrator role.