Click or drag to resize

IUCJsonPasswordChange Method

Change password for Member Contact. Call PasswordReset first if oldPassword is unknown or no login/password exist for Member Contact

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.4
Syntax
C#
bool PasswordChange(
	string userName,
	string token,
	string newPassword,
	string oldPassword
)

Parameters

userName
Type: SystemString
Login Id or UserName
token
Type: SystemString
Token from PasswordReset
newPassword
Type: SystemString
New Password
oldPassword
Type: SystemString
Previous Password

Return Value

Type: Boolean
Remarks
LS Central WS2 : MemberPasswordChange

To change password for existing contact: Send userName, newPassword, oldPassword

To reset password for existing contact: Send userName, token, newPassword

To register new login/password for new contact: Send userName, token, newPassword

See Also