语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

LoginMode Enum

Definition

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.

Applies to