Collapse All Expand All | Language Filter: Visual Basic Language Filter: C#Language Filter: Visual C++Language Filter: JavaScript Visual Basic C# Visual C++ JavaScript | See Also
.NET Framework Class Library
LoginProcess..::AttemptUserInputLogin Method

BMXNET 4.0 Developer API

Attempt an interactive UI login. There are several useful arguments to control the process and appearance of the this process.

Namespace: IndianHealthService.BMXNet.WinForm
Assembly: BMXWIN40 (in BMXWIN40.dll)

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public bool AttemptUserInputLogin(
    	string aDialogTitle,
    	int maxAttempts,
    	bool enableConnectionManagement,
    	IWin32Window aUiOwnerForPositioningDialog
    )

    Public Function AttemptUserInputLogin ( _
    	aDialogTitle As String, _
    	maxAttempts As Integer, _
    	enableConnectionManagement As Boolean, _
    	aUiOwnerForPositioningDialog As IWin32Window _
    ) As Boolean

    public:
    bool AttemptUserInputLogin(
    	String^ aDialogTitle,
    	int maxAttempts,
    	bool enableConnectionManagement,
    	IWin32Window^ aUiOwnerForPositioningDialog
    )

#### Parameters

aDialogTitle
  String
  The title of the login. Customize to be something like "MyApplication Login"

maxAttempts
  Int32
  The number of attempts before cancelling

enableConnectionManagement
  Boolean
  If false, the user will not be able to change the connections. This is useful for lockdown situations

aUiOwnerForPositioningDialog
  IWin32Window
  Provide your main application as the window owner so the LoginDialog box is correctly managed.

#### Return Value

True if login was successful

# See Also

LoginProcess Class
IndianHealthService.BMXNet.WinForm Namespace