ReportError: Boolean;
The ReportError property determines whether the displaying of the error message on the incorrect username/password is set.
If user name/password is incorrect, an error message is displayed, the property returns True, otherwise - False.
To execute the example, add a link to the Metabase assembly.
Sub UserProc;
Var
MB: IMetabase;
LogSes: ILogonSession;
Res : Boolean;
Begin
MB := MetabaseClass.Active;
LogSes := MB.LogonSession;
Res := LogSes.CreateLogonParams.ReportError;
Debug.WriteLine(Res);
End Sub UserProc;
After executing the example the console displays a value that determines whether error message is displayed if the user name/password is incorrect.
See also: