LoginWithDialog Method
- Last UpdatedNov 06, 2025
- 2 minute read
The LoginWithDialog() method opens the Login dialog to allow a user name and password to be entered. The dialog then attempts to log the user on using the information entered. If the Login dialog is canceled or errors, it records that fact along with the name of the dialog that called for the logon. This prevents the Login dialog from being opened for any other controls on the same dialog.
| Overload | Description |
|---|---|
| LoginWithDialog(String) | The LoginWithDialog() method opens the Login dialog to allow a user name and password to be entered. The dialog then attempts to log the user on using the information entered. If the Login dialog is canceled or errors, it records that fact along with the name of the dialog that called for the logon. This prevents the Login dialog from being opened for any other controls on the same dialog. |
| LoginWithDialog(String,Boolean,Boolean) | The LoginWithDialog() method opens the Login dialog to allow a user name and password to be entered. The dialog then attempts to log the user on using the information entered. If the Login dialog is canceled or errors, it records that fact along with the name of the form that called for the logon. This prevents the Login dialog from being opened for any other controls on the same dialog. This overload of the method includes two flags that determine whether:
|
| LoginWithDialog(String,Boolean,Boolean,Boolean) | The LoginWithDialog() method opens the Login dialog to allow a user name and password to be entered. The dialog then attempts to log the user on using the information entered. If the Login dialog is canceled or errors, it records that fact along with the name of the dialog that called for the logon. This prevents the Login dialog from being opened for any other controls on the same dialog. This overload of the method includes three flags that determine whether:
|
| LoginWithDialog(String,Boolean,Boolean,Boolean,String) | The LoginWithDialog() method opens the Login dialog to allow a user name and password to be entered. The dialog then attempts to log the user on using the information entered. If the Login dialog is canceled or errors, it records that fact along with the name of the dialog that called for the logon. This prevents the Login dialog from being opened for any other controls on the same dialog. This overload of the method includes three flags that determine whether:
This overload also includes a version number to display in the dialog. |