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 Properties

BMXNET 4.0 Developer API

The LoginProcess type exposes the following properties.

# Properties

Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |

| Member | Description
--- | --- | ---
| AutoSetDivisionToLastLookup | If set to True, RPMS is checked and if there was a previously set division for the user it will be used, otherwise MustResolveDivision will be set to True and the division will need to be set for the user. The default is True
| Cancel | During a LoginAttempted the LoginProcess can be Cancelled by setting Cancel to True.
| ConnectionSpec | The active ConnectionSpec being used to login. With care, the property can be changed or the instance can be modified during the AttemptingLogin and LoginAttempted events with care.
| FailureException | If an exception occured during the last login attempt, FailureException will be set to it.
| FailureMessage | A reasonable message to display to the user if the last login attempt failed.
| Framework |
| HasDefaultConnectionWithUseWindowsAuth | Answer True if there is a default managed connection that uses WindowsAuthenication
| IsSwitchServerModeEnabled | If set to True, the Connection combo box on the Login screen with be dropped down when the dialog is displayed. This is useful for applications that have an option to change Connections. The default is False.
| LoginAttempts | The number of login attempts so far. This value can be modified during the AttemptingLogin and LoginAttempted events.
| MaxAttempts | The number of login attempts before cancelling the LoginProcess. The default value is 3. This value can be modified during the AttemptingLogin and LoginAttempted events.
| MustResolveDivision | If the division for the user has not been determine after the LoginProcess, MustResolveDivision will be set to True. The default if False.
| WasLoginAttempted | True if a login was attempted. False if the user is presented with a LoginDialog and "Cancel" is selected. The value is changed during every login attempt cycle.
| WasSuccessful | True if the most recent login attempt was successful.

# See Also

LoginProcess Class
IndianHealthService.BMXNet.WinForm Namespace