LoginMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The mode to use when logging in to a Windows user.
public enum LoginMode
type LoginMode =
Public Enum LoginMode
- Inheritance
-
LoginMode
Fields
Name | Value | Description |
---|---|---|
Batch | 0 | The LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes. |
Interactive | 1 | The LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended. |