ILogonParams.ReportError

Syntax

ReportError: Boolean;

Description

The ReportError property determines whether the displaying of the error message on the incorrect username/password is set.

Comments

If user name/password is wrong an error message is displayed the property returns True, otherwise - False.

Example

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 a value, that determines whether error message is displayed if the user name/password is wrong, is displayed into the console.

See also:

ILogonParams