Click or drag to resize

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
C#
[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: String
ResetCode
Exceptions
ExceptionCondition
LSOmniServiceExceptionStatusCodes 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