MetabaseCompatible: Boolean;
The MetabaseCompatible property returns whether the user's credentials, specified when entering the system, can be used for connecting with the database.
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.
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: