Class CredentialsRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the Credentials table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class CredentialsRecordData
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
CredentialsRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the Credentials table.
Declaration
public CredentialsRecordData()
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
AssociateId
Associate that these credentials iare an alternative identification for
Declaration
public int AssociateId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Comment
Free text comment
Declaration
public string Comment
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
CredentialType
What type of credentials is this
Declaration
public string CredentialType
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
CredentialsId
Primary key
Declaration
public int CredentialsId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
DisplayName
Friendly name of credentials (searchname could be a SID, this should be a real name)
Declaration
public string DisplayName
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
DisplayType
Lead-text used in GUI, originally from plugin. Used as fallback when plugins are missing
Declaration
public string DisplayType
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
EncryptedCheck
Encrypted checksum; tampering will block system usage
Declaration
public string EncryptedCheck
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ExtraId
Spare field, used at the plugins discretion
Declaration
public int ExtraId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
IsActive
What kind of usage are these credentials for; see enum CredentialUsage for details
Declaration
public CredentialUsage IsActive
Field Value
Type | Description |
---|---|
CredentialUsage |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LastUsedDate
When were these credentials last used for login
Declaration
public DateTime LastUsedDate
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LastusedInfo
Provider-specific usage information, for instance an IP adrdess or other location
Declaration
public string LastusedInfo
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
PersonId
Associates' person; or just the person, if this points to a potential associate (created on-demand on first login)
Declaration
public int PersonId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Registered
Registered when in UTC.
Declaration
public DateTime Registered
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
SearchName
Searchable (plaintext) representation of credentials
Declaration
public string SearchName
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Secret
Encrypted secret
Declaration
public string Secret
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Updated
Last updated when in UTC.
Declaration
public DateTime Updated
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UpdatedAssociateId
Last updated by whom
Declaration
public int UpdatedAssociateId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ValidFrom
Start of validity for these credentials
Declaration
public DateTime ValidFrom
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ValidTo
End of validity for these credentials
Declaration
public DateTime ValidTo
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full CredentialsRow 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 CredentialsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.