Click or drag to resize

User 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.
Represents a user.
Inheritance Hierarchy
SystemObject
  AnySenseService.Entities.API.PublicAPI.V1.DTOs.UserUser

Namespace: AnySenseService.Entities.API.PublicAPI.V1.DTOs.User
Assembly: AnySenseService.Entities.API.PublicAPI.V1 (in AnySenseService.Entities.API.PublicAPI.V1.dll) Version: 1.29.6-dev
Syntax
C#
public class User

The User type exposes the following members.

Constructors
 NameDescription
Public methodUserInitializes a new instance of the User class
Top
Properties
 NameDescription
Public propertyClientId The Anysense client Id of the user (if UserType is Client)
Public propertyEmail The users e-mail address
Public propertyFirstName The users first name.
Public propertyForms A list of forms assigned to the user.
Public propertyGroupRoles The group roles list is defined directly under the User entity so that it's easier to look up which roles a user has.
Alternatively, roles for each group should be read from the db resulting in slower performance.
This property is primarily used when validating the user from the website.
Public propertyGroups A list of groups that the user is assigned to.
Public propertyIsActive Indicates whether the user is active (true) or not (false).
Public propertyIsHidden Indicates whether the user is hidden (true) or not (false)
Public propertyLastName The users last name.
Public propertyLastUpdated When the user was last updated.
Public propertyLicenses Licenses applied to the user.
Public propertyPicture Users profile picture in base64
Public propertyRoles Roles applied to the user.
Public propertyRowVersion The database row version of the user.
Public propertyUserId The id of the user.
Public propertyUserName The username of the user.
Public propertyUserType The type of the user.
Top
See Also