ILogonParams.MetabaseCompatible

Syntax

MetabaseCompatible: Boolean;

Description

The MetabaseCompatible property returns whether the user credentials specified on system login can be used to connect to the database.

Comments

If the property is set to True, the data entered during registration can be used, that is, the UseMetabaseLogonCredentials property was previously set to OnOption; if the property is set to False, this ability is disabled.

Example

Sub UserProc;
Var
    MB: IMetabase;
    LogSes: ILogonSession;
    Res: Boolean;
Begin
    MB := MetabaseClass.Active;
    LogSes := MB.LogonSession;
    Res := LogSes.CreateLogonParams.MetabaseCompatible;
    Debug.WriteLine(Res);
End Sub UserProc;

After executing the example the console window displays property value.

See also:

ILogonParams