Activates and Deactivates the user belonging to the given SystemUserId.
Returns – A UserResponse indicating success or failure..
|encryptedToken||string||Required. Encrypted Token returned from client authentication. Returns null if token has expired or is invalid.|
|systemUserId||string||Required. The System User Id for the user in hand.|
|salt||string||Required. Any combination of text and numbers that was used to encrypt the plain text password into encryptedPassword.|
|userStatus||string||Required. Valid values are Active = 1, Inactive = 0|
Example – C#
ServiceAPIClient ws = new ServiceAPIClient();
string sysUserId = “The GUID for the user in hand”;
string salt = “test123”; // Make this hard to figure out.
string userStatus = UserStatusCodes.Active;
userResponse = ws.ProvisionUser(encryptedToken, sysUserId, salt, userStatus);