SetLogonReturnOnFailure method

Determines the action to be taken when a logon fails. By default, the setting is false.

Method
short SetLogonReturnOnFailure(
boolean Return )
Parameters
Return
If nonzero, indicates that control is to be returned when a logon fails; otherwise, that the Content Manager OnDemand Logon dialog box is to be displayed when a logon fails.
Description
Determines the action to be taken when a logon fails. By default, the setting is false.
Return Value
Refer to return codes.
See Also
Logon method

C/C + +

The following example sets the action to be taken when a logon fails.
 CArsOle * pArsCtrl;
   .
   .
   .
 pArsCtrl->SetLogonReturnOnFailure( TRUE );
   .
   .
   .

Visual Basic

   .
   .
   .
 ArsOle.SetLogonReturnOnFailure (True)
   .
   .
   .