Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

MES Stateful API

LoginWithDialog(String,Boolean,Boolean,Boolean,String) Method

LoginWithDialog(String,Boolean,Boolean,Boolean,String) Method

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:

  • A Cancel is confirmed in the dialog
  • A Cancel button is displayed in the dialog
  • An 'Always login as this user' check box is displayed in the dialog

This overload also includes a version number to display in the dialog.

In This Topic
TitleResults for “How to create a CRG?”Also Available in