Show / Hide Table of Contents

Class CredentialsTableInfo

Table 'Credentials': Alternative credentials

Inheritance
Object
TableInfo
CredentialsTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(String)
TableInfo.ProtAll
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.Item[String]
TableInfo.PrimaryKeyField
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("Credentials")]
public class CredentialsTableInfo : TableInfo, ICloneable
Remarks

An instance of this class represents one instance of this table in an SQL statement. In most cases each table appears only once in a SELECT, but in cases where you need to self-join, or there are multiple occurrences for other reasons (typically additional restrictions in the joins), then you will need multiple instances.
Instances of this class are created by calling .

Fields

DictionaryTableName

Conceptual name of table Credentials in the database dictionary: Credentials

Declaration
public const string DictionaryTableName = "Credentials"
Field Value
Type Description
String

Properties

AssociateId

Field 'associateId' in table 'Credentials': Dictionary type FK, .NET type: Int32

Associate that these credentials iare an alternative identification for

Declaration
public Int32FieldInfo AssociateId { get; }
Property Value
Type Description
Int32FieldInfo

AssociateId_InnerJoin_Associate

Generated join from the foreign key AssociateId in this table, to its target table AssociateTableInfo.

Declaration
public TargetedInnerJoin<AssociateTableInfo> AssociateId_InnerJoin_Associate { get; }
Property Value
Type Description
TargetedInnerJoin<AssociateTableInfo>

Comment

Field 'comment' in table 'Credentials': Dictionary type String[255], .NET type: String

Free text comment

Declaration
public StringFieldInfo Comment { get; }
Property Value
Type Description
StringFieldInfo

CredentialsId

Field 'Credentials_id' in table 'Credentials': Dictionary type PK, .NET type: Int32

Primary key

Declaration
public Int32FieldInfo CredentialsId { get; }
Property Value
Type Description
Int32FieldInfo

CredentialType

Field 'credentialType' in table 'Credentials': Dictionary type String[255], .NET type: String

What type of credentials is this

Declaration
public StringFieldInfo CredentialType { get; }
Property Value
Type Description
StringFieldInfo

Definition

Definition of the table as described in the deployed runtime dictionary

Declaration
public override SoTable Definition { get; }
Property Value
Type Description
SoTable
Overrides
TableInfo.Definition

DictionaryTableNumber

Table number for table Credentials in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database

Declaration
public int DictionaryTableNumber { get; }
Property Value
Type Description
Int32

DisplayName

Field 'displayName' in table 'Credentials': Dictionary type String[255], .NET type: String

Friendly name of credentials (searchname could be a SID, this should be a real name)

Declaration
public StringFieldInfo DisplayName { get; }
Property Value
Type Description
StringFieldInfo

DisplayType

Field 'displayType' in table 'Credentials': Dictionary type String[255], .NET type: String

Lead-text used in GUI, originally from plugin. Used as fallback when plugins are missing

Declaration
public StringFieldInfo DisplayType { get; }
Property Value
Type Description
StringFieldInfo

EncryptedCheck

Field 'encryptedCheck' in table 'Credentials': Dictionary type String[255], .NET type: String

Encrypted checksum; tampering will block system usage

Declaration
public StringFieldInfo EncryptedCheck { get; }
Property Value
Type Description
StringFieldInfo

ExtraId

Field 'extraId' in table 'Credentials': Dictionary type Id, .NET type: Int32

Spare field, used at the plugins discretion

Declaration
public Int32FieldInfo ExtraId { get; }
Property Value
Type Description
Int32FieldInfo

IsActive

Field 'isActive' in table 'Credentials': Dictionary type Enum, .NET type: CredentialUsage

What kind of usage are these credentials for; see enum CredentialUsage for details

Declaration
public CredentialUsageFieldInfo IsActive { get; }
Property Value
Type Description
CredentialUsageFieldInfo

LastUsedDate

Field 'lastUsedDate' in table 'Credentials': Dictionary type DateTime, .NET type: DateTime

When were these credentials last used for login

Declaration
public DateTimeFieldInfo LastUsedDate { get; }
Property Value
Type Description
DateTimeFieldInfo

LastusedInfo

Field 'lastusedInfo' in table 'Credentials': Dictionary type String[255], .NET type: String

Provider-specific usage information, for instance an IP adrdess or other location

Declaration
public StringFieldInfo LastusedInfo { get; }
Property Value
Type Description
StringFieldInfo

PersonId

Field 'personId' in table 'Credentials': Dictionary type FK, .NET type: Int32

Associates' person; or just the person, if this points to a potential associate (created on-demand on first login)

Declaration
public Int32FieldInfo PersonId { get; }
Property Value
Type Description
Int32FieldInfo

PersonId_InnerJoin_Person

Generated join from the foreign key PersonId in this table, to its target table PersonTableInfo.

Declaration
public TargetedInnerJoin<PersonTableInfo> PersonId_InnerJoin_Person { get; }
Property Value
Type Description
TargetedInnerJoin<PersonTableInfo>

Registered

Field 'registered' in table 'Credentials': Dictionary type UtcDateTime, .NET type: DateTime

Registered when

Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type Description
DateTimeFieldInfo

RegisteredAssociateId

Field 'registered_associate_id' in table 'Credentials': Dictionary type FK, .NET type: Int32

Registered by whom

Declaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type Description
Int32FieldInfo

RegisteredAssociateId_InnerJoin_Associate

Generated join from the foreign key RegisteredAssociateId in this table, to its target table AssociateTableInfo.

Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredAssociateId_InnerJoin_Associate { get; }
Property Value
Type Description
TargetedInnerJoin<AssociateTableInfo>

RuntimeDefinition

Definition of the table as described in the deployed runtime dictionary

Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type Description
SoTable

SearchName

Field 'searchName' in table 'Credentials': Dictionary type String[255], .NET type: String

Searchable (plaintext) representation of credentials

Declaration
public StringFieldInfo SearchName { get; }
Property Value
Type Description
StringFieldInfo

Secret

Field 'secret' in table 'Credentials': Dictionary type String[255], .NET type: String

Encrypted secret

Declaration
public StringFieldInfo Secret { get; }
Property Value
Type Description
StringFieldInfo

Updated

Field 'updated' in table 'Credentials': Dictionary type UtcDateTime, .NET type: DateTime

Last updated when

Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type Description
DateTimeFieldInfo

UpdatedAssociateId

Field 'updated_associate_id' in table 'Credentials': Dictionary type FK, .NET type: Int32

Last updated by whom

Declaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type Description
Int32FieldInfo

UpdatedAssociateId_InnerJoin_Associate

Generated join from the foreign key UpdatedAssociateId in this table, to its target table AssociateTableInfo.

Declaration
public TargetedInnerJoin<AssociateTableInfo> UpdatedAssociateId_InnerJoin_Associate { get; }
Property Value
Type Description
TargetedInnerJoin<AssociateTableInfo>

UpdatedCount

Field 'updatedCount' in table 'Credentials': Dictionary type UShort, .NET type: Int16

Number of updates made to this record

Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type Description
UInt16FieldInfo

ValidFrom

Field 'validFrom' in table 'Credentials': Dictionary type DateTime, .NET type: DateTime

Start of validity for these credentials

Declaration
public DateTimeFieldInfo ValidFrom { get; }
Property Value
Type Description
DateTimeFieldInfo

ValidTo

Field 'validTo' in table 'Credentials': Dictionary type DateTime, .NET type: DateTime

End of validity for these credentials

Declaration
public DateTimeFieldInfo ValidTo { get; }
Property Value
Type Description
DateTimeFieldInfo

Methods

IdxCredentialType(String)

Shortcut method for looking up using the database index CredentialType, which spans the following fields:

FieldDescription
CredentialTypeWhat type of credentials is this
Declaration
public Restriction IdxCredentialType(string credentialType)
Parameters
Type Name Description
String credentialType
Returns
Type Description
Restriction

IdxCredentialTypeIsActive(String, CredentialUsage)

Shortcut method for looking up using the database index CredentialTypeIsActive, which spans the following fields:

FieldDescription
CredentialTypeWhat type of credentials is this
IsActiveWhat kind of usage are these credentials for; see enum CredentialUsage for details
Declaration
public Restriction IdxCredentialTypeIsActive(string credentialType, CredentialUsage isActive)
Parameters
Type Name Description
String credentialType
CredentialUsage isActive
Returns
Type Description
Restriction

IdxCredentialTypeIsActiveCredentialsId(String, CredentialUsage, Int32)

Shortcut method for looking up using the database index CredentialTypeIsActiveCredentialsId, which spans the following fields:

FieldDescription
CredentialTypeWhat type of credentials is this
IsActiveWhat kind of usage are these credentials for; see enum CredentialUsage for details
CredentialsIdPrimary key
Declaration
public Restriction IdxCredentialTypeIsActiveCredentialsId(string credentialType, CredentialUsage isActive, int credentialsId)
Parameters
Type Name Description
String credentialType
CredentialUsage isActive
Int32 credentialsId
Returns
Type Description
Restriction

IdxCredentialTypeIsActiveCredentialsIdValidFrom(String, CredentialUsage, Int32, DateTime)

Shortcut method for looking up using the database index CredentialTypeIsActiveCredentialsIdValidFrom, which spans the following fields:

FieldDescription
CredentialTypeWhat type of credentials is this
IsActiveWhat kind of usage are these credentials for; see enum CredentialUsage for details
CredentialsIdPrimary key
ValidFromStart of validity for these credentials
Declaration
public Restriction IdxCredentialTypeIsActiveCredentialsIdValidFrom(string credentialType, CredentialUsage isActive, int credentialsId, DateTime validFrom)
Parameters
Type Name Description
String credentialType
CredentialUsage isActive
Int32 credentialsId
DateTime validFrom
Returns
Type Description
Restriction

Implements

System.ICloneable

Extension Methods

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