Class UserSessionsRequest
Defines parameters for GetUserSessions(UserSessionsRequest) method.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class UserSessionsRequest : IValidator
  Constructors
UserSessionsRequest()
Declaration
public UserSessionsRequest()
  Properties
ClientAddress
Gets or sets the IP address of the user associates with the session.
Declaration
public string ClientAddress { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
EndDateTime
Gets or sets the latest start time (in UTC) of a session to be returned. If not set then the result set is not limited from the top.
Declaration
public DateTime? EndDateTime { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<DateTime> | 
ErrorMessage
Gets validation error message.
Declaration
public string ErrorMessage { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
FolderId
Gets or sets the identifier of the root folder containing user entities.
Declaration
public int? FolderId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
IdentityName
Gets or sets the identity name of the user associates with the session.
Declaration
public string IdentityName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
SortField
Gets or sets the field that result will be sorted by.
Declaration
public UserSessionSortField SortField { get; set; }
  Property Value
| Type | Description | 
|---|---|
| UserSessionSortField | 
SortOrder
Gets or sets the result sort order.
Declaration
public SortOrder SortOrder { get; set; }
  Property Value
| Type | Description | 
|---|---|
| SortOrder | 
StartDateTime
Gets or sets the earliest start time (in UTC) of a session to be returned.
Declaration
public DateTime StartDateTime { get; set; }
  Property Value
| Type | Description | 
|---|---|
| DateTime | 
UserId
Gets or sets the identifier of the user associates with the session.
Declaration
public int? UserId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
Methods
Validate()
Validates object properties returns the result.
Declaration
public bool Validate()
  Returns
| Type | Description | 
|---|---|
| Boolean | True, if object state is valid. False, if one or more properties have invalid values.  |