IUCServiceChangePassword Method |
Note: This API is now obsolete.
Change password
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")]
bool ChangePassword(
string userName,
string newPassword,
string oldPassword
)
Parameters
- userName
- Type: SystemString
user name (LS Central:LoginID) - newPassword
- Type: SystemString
new password (LS Central:NewPassword) - oldPassword
- Type: SystemString
old password (LS Central:OldPassword)
Return Value
Type:
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