Class UserSession
Provides information about the user's interactive session with Repository Console.
Inheritance
System.Object
UserSession
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
---|---|
System.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 |
---|---|
System.TimeSpan |
EndDateTime
Gets or sets the session end time in UTC.
Declaration
public DateTime EndDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Id
Gets or sets the session database identifier.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IdentityName
Gets or sets the identity name used to authenticate the user.
Declaration
public string IdentityName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StartDateTime
Gets or sets the session start time in UTC.
Declaration
public DateTime StartDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
UserFullName
Gets the full name of the user associated with the session.
Declaration
public string UserFullName { get; }
Property Value
Type | Description |
---|---|
System.String |
UserId
Gets or sets the identifier of the user associates with the session.
Declaration
public int UserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |