Class LoginRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the login table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class LoginRecordData : Object
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()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the login table.
Declaration
public 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.
Fields
ActiveMenu
The currently active (open) left-menu for this session.
Declaration
public int ActiveMenu
Field Value
Type | Description |
---|---|
Int32 |
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.
AuthenticationType
The authentication type (enum) for this session.
Declaration
public short AuthenticationType
Field Value
Type | Description |
---|---|
Int16 |
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.
ErrorMessage
Stores the last error message recorded on this session
Declaration
public string ErrorMessage
Field Value
Type | Description |
---|---|
String |
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.
Flags
Bitmask of flags for a service login session
Declaration
public LoginFlags Flags
Field Value
Type | Description |
---|---|
LoginFlags |
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.
Idle
The last time this session was active.
Declaration
public DateTime Idle
Field Value
Type | Description |
---|---|
DateTime |
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.
LoggedIn
When this session started.
Declaration
public DateTime LoggedIn
Field Value
Type | Description |
---|---|
DateTime |
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.
LoginId
The primary key (auto-incremented)
Declaration
public int LoginId
Field Value
Type | Description |
---|---|
Int32 |
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.
LoginOrigin
1=soap call, 2=web pages
Declaration
public int LoginOrigin
Field Value
Type | Description |
---|---|
Int32 |
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.
NsSecret
Netserver login secret.
Declaration
public string NsSecret
Field Value
Type | Description |
---|---|
String |
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.
RemoteAddr
The IP address of the client for this session.
Declaration
public string RemoteAddr
Field Value
Type | Description |
---|---|
String |
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.
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 |
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.
SessionKey
A random 32 characters value used as authentication key for the session.
Declaration
public string SessionKey
Field Value
Type | Description |
---|---|
String |
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.
Status
The status (enum) for this session.
Declaration
public int Status
Field Value
Type | Description |
---|---|
Int32 |
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.
UserId
The id of the user this entry references.
Declaration
public int UserId
Field Value
Type | Description |
---|---|
Int32 |
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.