SKM.V3.MethodsVersion: 4.0.54. Both packages; all six documented target frameworks.
Result == ResultType.Success before using its data. In version 4.0.54, handled request and JSON errors normally return ResultType.Error with a diagnostic Message. A non-null result alone does not mean the request succeeded. See Request Errors.
Constructors
UserAuth()
Creates an empty UserAuth object. This constructor does not send an API request.Methods
Associate(string, AssociateUserModel)
Associates a user with a customer object.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
ChangePassword(string, ChangePasswordModel)
This method will change the password of a user. It supports 3 modes of operation. With an access token that has UserAuthNormal permission (i.e. without admin permission), the password can either be changed by providing the old password or a password reset token, which can be generated using Reset Password Token method. Finally, if you call this method with an access token that has UserAuthAdmin permission, it will allow you to set AdminMode to True and only provide the NewPassword.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Dissociate(string, DissociateModel)
Dissociates a user from a customer customer object.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
GetUsers(string, GetUsersModel)
List all registered users.
Returns:
GetUsersResult. The API response. Check Result and Message before using the returned data.
Login(string, LoginUserModel)
This method will return all licenses that belong to the user.
Returns:
LoginUserResult. The API response. Check Result and Message before using the returned data.
Register(string, RegisterUserModel)
This method will register a new user.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
RemoveUser(string, RemoveUserModel)
This method removes a user.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
ResetPasswordToken(string, ResetPasswordModel)
This method allows you to retrive the password reset token that you can use when calling Change Password method.
Returns:
ResetPasswordResult. The API response. Check Result and Message before using the returned data.
.NET SDK Reference · Reviewed Source Revision