Click or drag to resize

IUCJsonResetPassword Method

Note: This API is now obsolete.

Send in Reset Password request for 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 2026.8.0
Syntax
C#
[ObsoleteAttribute("Its recommended to use PasswordReset and PasswordChange instead")]
bool ResetPassword(
	string userName,
	string resetCode,
	string newPassword
)

Parameters

userName  String
resetCode  String
Reset Code returned from ForgotPassword
newPassword  String

Return Value

Boolean
Exceptions
ExceptionCondition
LSOmniServiceExceptionStatusCodes returned:
  • StatusCode.UserNameNotFound
  • StatusCode.ResetPasswordCodeInvalid
  • StatusCode.ResetPasswordCodeNotFound
  • StatusCode.ResetPasswordCodeExpired
  • StatusCode.PasswordInvalid
  • StatusCode.ParameterInvalid
Remarks
LS Central WS2: MemberPasswordReset

If anything fails, simply ask the user to go through the ForgotPassword again..

Error PasswordInvalid = ask user for better password

Error ParameterInvalid = ask user for correct userName since it does not match resetCode

All other errors should as the user to go through the forgotPassword flow again

See Also