RecoverPasswordHash
Jump to navigation
Jump to search
Description
RecoverPasswordHash is the new version of the deprecated method RecoverPassword. Generate a new password and send it to logged user in this time by the token. The hash parameter is introduced in order to improve data integrity.
Parameters
- instanceId (int, required)
- The id of the instance (OB) for the current environment. This ID might vary depending on the environment.
- userName (String, required)
- E-mail from the user that wants to recover the password.
- deviceType (int, required)
- The device type code (see #DeviceTypeCodes enumeration to know the list of device types allowed)
- hash (string, required)
- Parameter used to preserve confidentiality sended to the user e-mail.
Returns
Boolean value. True if the password has been reset, false otherwise.
Exceptions
TO BE COMPLETED
Caching
This method is not cached.
Known issues
None
Version history
TO BE COMPLETED