Show / Hide Table of Contents

Class LoginRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the login table.

Inheritance
Object
LoginRecordData
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class LoginRecordData
Remarks

Please use this class instead of a full LoginRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding LoginTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

LoginRecordData()

Declaration
public LoginRecordData()

Fields

ActiveMenu

The currently active (open) left-menu for this session.

Declaration
public int ActiveMenu
Field Value
Type Description
Int32

AuthenticationType

The authentication type (enum) for this session.

Declaration
public short AuthenticationType
Field Value
Type Description
Int16

ErrorMessage

Stores the last error message recorded on this session

Declaration
public string ErrorMessage
Field Value
Type Description
String

Flags

Bitmask of flags for a service login session

Declaration
public LoginFlags Flags
Field Value
Type Description
LoginFlags

Idle

The last time this session was active.

Declaration
public DateTime Idle
Field Value
Type Description
DateTime

LoggedIn

When this session started.

Declaration
public DateTime LoggedIn
Field Value
Type Description
DateTime

LoginId

The primary key (auto-incremented)

Declaration
public int LoginId
Field Value
Type Description
Int32

LoginOrigin

1=soap call, 2=web pages

Declaration
public int LoginOrigin
Field Value
Type Description
Int32

NsSecret

Netserver login secret.

Declaration
public string NsSecret
Field Value
Type Description
String

RemoteAddr

The IP address of the client for this session.

Declaration
public string RemoteAddr
Field Value
Type Description
String

RemoteHost

The hostname (depending on whether reverse lookup is enabled in httpd) or IP address of the client for this session.

Declaration
public string RemoteHost
Field Value
Type Description
String

SessionKey

A random 32 characters value used as authentication key for the session.

Declaration
public string SessionKey
Field Value
Type Description
String

Status

The status (enum) for this session.

Declaration
public int Status
Field Value
Type Description
Int32

UserId

The id of the user this entry references.

Declaration
public int UserId
Field Value
Type Description
Int32

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
LoginRecordDataExtensions.ToInsert(LoginRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top