MetabaseCompatible: Boolean;
The MetabaseCompatible property returns whether the user credentials specified on system log in can be used to connect to 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: