ILogonParams.MetabaseCompatible

Syntax

MetabaseCompatible: Boolean;

Description

The MetabaseCompatible property returns whether the user's credentials, specified when entering the system, can be used for connecting with the database.

Comments

The True value enables to use the data, entered when registering, that is, the UseMetabaseLogonCredentials property was previously set in OnOption, the False value disables the opportunity.

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 a property value is displayed in a console window.

See also:

ILogonParams