Skip to main content
Methods that perform operations on a user object. A complete list can be found here: UserAuth Namespace: SKM.V3.Methods
Version: 4.0.54. Both packages; all six documented target frameworks.
These methods return a result object. Check 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.
Web API Reference Parameters 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.
Web API Reference Parameters 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.
Web API Reference Parameters Returns: BasicResult. The API response. Check Result and Message before using the returned data.

GetUsers(string, GetUsersModel)

List all registered users.
Web API Reference Parameters 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.
Web API Reference Parameters Returns: LoginUserResult. The API response. Check Result and Message before using the returned data.

Register(string, RegisterUserModel)

This method will register a new user.
Web API Reference Parameters Returns: BasicResult. The API response. Check Result and Message before using the returned data.

RemoveUser(string, RemoveUserModel)

This method removes a user.
Web API Reference Parameters 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.
Web API Reference Parameters Returns: ResetPasswordResult. The API response. Check Result and Message before using the returned data. .NET SDK Reference · Reviewed Source Revision