IUCServiceForgotPassword Method |
Note: This API is now obsolete.
Request a ResetCode to use in Email to send to Member Contact
NOTE: Its recommended to use PasswordReset and PasswordChange instead
Namespace:
LSOmni.Service
Assembly:
LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.6
Syntax [ObsoleteAttribute("Its recommended to use PasswordReset and PasswordChange instead")]
string ForgotPassword(
string userNameOrEmail
)
Parameters
- userNameOrEmail
- Type: SystemString
User Name or Email Address
Return Value
Type:
StringResetCode
Exceptions Exception | Condition |
---|
LSOmniServiceException | StatusCodes returned:
- StatusCode.UserNameNotFound
- StatusCode.ResetPasswordCodeInvalid
|
Remarks
Settings for this function are found in Commerce Service for LS Central Database - TenantConfig table
- forgotpassword_code_encrypted: Reset Code is Encrypted
See Also