Click or drag to resize

UsersClient Class

To get started, call one of the following methods:
  • Anysense.API.Client.V1.ApiClient.Create
  • Anysense.API.Client.V1.ApiClient.CreateAsync
  • Anysense.API.Client.V1.ApiClient.CreateWithToken
  • Anysense.API.Client.V1.ApiClient.CreateWithTokenAsync
See Anysense.API.Client.Shared.BaseClient<T> for documentation on these methods.
Inheritance Hierarchy
SystemObject
  Anysense.API.Client.SharedApiHandlerApiClient
    Anysense.API.Client.V1UsersClient

Namespace: Anysense.API.Client.V1
Assembly: Anysense.API.Client (in Anysense.API.Client.dll) Version: 1.31.15+d671d89394079ff2411e503098d3578f08c2de86
Syntax
C#
public class UsersClient : ApiHandler<ApiClient>

The UsersClient type exposes the following members.

Methods
 NameDescription
Public methodAdd Adds a user to the subscription
Public methodAddAsync Adds a user to the subscription
Protected methodAddQueryParameter
(Inherited from ApiHandlerT)
Public methodDisplay Returns display info for the requested user id
Public methodDisplayAsync Returns display info for the requested user id
Public methodDisplayMe Returns display info for the current user
Public methodDisplayMeAsync Returns display info for the current user
Public methodGet Get a specific user Either email eor id is required, but only one of them is allowed
Public methodGetAsync Get a specific user Either email eor id is required, but only one of them is allowed
Public methodGetCurrentUser Returns the current user or client
Public methodGetCurrentUserAsync Returns the current user or client
Public methodGetDeviceCount Returns a list of stats, of how many devices a user has been logged on with.
Public methodGetDeviceCountAsync Returns a list of stats, of how many devices a user has been logged on with.
Public methodGetDeviceList Returns a list of mobile devices used by the user.
Public methodGetDeviceListAsync Returns a list of mobile devices used by the user.
Public methodGetList Returns users matching the submitted filter
Public methodGetListAsync Returns users matching the submitted filter
Public methodIsEmailAvailable Checks if there already is a user with the submitted email
Public methodIsEmailAvailableAsync Checks if there already is a user with the submitted email
Public methodIsUsernameAvailable(String) 
Public methodIsUsernameAvailable(String, String) Checks if there is an user with the submitted username.
Public methodIsUsernameAvailableAsync(String) 
Public methodIsUsernameAvailableAsync(String, String) Checks if there is an user with the submitted username.
Public methodUpdate Updates a user
Public methodUpdateAsync Updates a user
Top
See Also