Class UserSession
Provides information about the user's interactive session with Repository Console.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class UserSession
Constructors
UserSession()
Declaration
public UserSession()
Properties
ClientAddress
Gets or sets the IP address of the user's browser.
Declaration
public string ClientAddress { get; set; }
Property Value
Type | Description |
---|---|
String |
Duration
Gets the session duration. If duration is zero than actual session lasted less than a minute.
Declaration
public TimeSpan Duration { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
EndDateTime
Gets or sets the session end time in UTC.
Declaration
public DateTime EndDateTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Id
Gets or sets the session database identifier.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
IdentityName
Gets or sets the identity name used to authenticate the user.
Declaration
public string IdentityName { get; set; }
Property Value
Type | Description |
---|---|
String |
StartDateTime
Gets or sets the session start time in UTC.
Declaration
public DateTime StartDateTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
UserFullName
Gets the full name of the user associated with the session.
Declaration
public string UserFullName { get; }
Property Value
Type | Description |
---|---|
String |
UserId
Gets or sets the identifier of the user associates with the session.
Declaration
public int UserId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |