IUCServiceChangePassword Method |
Note: This API is now obsolete.
Change password
NOTE: Its recommended to use PasswordReset and PasswordChange instead
Namespace: LSOmni.ServiceAssembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntax[ObsoleteAttribute("Its recommended to use PasswordReset and PasswordChange instead")]
bool ChangePassword(
string userName,
string newPassword,
string oldPassword
)Parameters
- userName String
- user name (LS Central:LoginID)
- newPassword String
- new password (LS Central:NewPassword)
- oldPassword String
- old password (LS Central:OldPassword)
Return Value
Booleantrue/false
Exceptions| Exception | Condition |
|---|
| LSOmniServiceException | StatusCodes returned:
- StatusCode.Error
- StatusCode.SecurityTokenInvalid
- StatusCode.UserNotLoggedIn
- StatusCode.DeviceIsBlocked
- StatusCode.AccessNotAllowed
- StatusCode.ContactIdNotFound
- StatusCode.PasswordInvalid
- StatusCode.PasswordOldInvalid
|
Remarks
LS Central WS2: MemberPasswordChange
See Also