ICredentials.SlotCount

Syntax

SlotCount: Integer;

Description

The SlotCount property returns the number of columns in the repository credentials table.

Example

Sub UserProc;
Var
    Mb: IMetabase;
    LoS: ILogonSession;
    Sc: ISecurityConnection;
    Cr: ICredentials;
    i: Integer;
Begin
    Mb := MetabaseClass.Active;
    LoS := Mb.LogonSession;
    Sc := LoS.PrimaryConnection;
    Cr := Sc.Credentials;
    i := Cr.SlotCount;
End Sub UserProc;

After executing the example the "i" variable contains the number of columns in the active repository credentials table.

See also:

ICredentialsBase