Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SECURITY_LOGON_TYPE enumeration indicates the type of logon requested by a logon process.
Syntax
typedef enum _SECURITY_LOGON_TYPE {
UndefinedLogonType = 0,
Interactive = 2,
Network,
Batch,
Service,
Proxy,
Unlock,
NetworkCleartext,
NewCredentials,
RemoteInteractive,
CachedInteractive,
CachedRemoteInteractive,
CachedUnlock
} SECURITY_LOGON_TYPE, *PSECURITY_LOGON_TYPE;
Constants
UndefinedLogonTypeValue: 0 |
InteractiveValue: 2 The security principal is logging on interactively. |
NetworkThe security principal is logging using a network. |
BatchThe logon is for a batch process. |
ServiceThe logon is for a service account. |
ProxyNot supported. |
UnlockThe logon is an attempt to unlock a workstation. |
NetworkCleartextThe logon is a network logon with plaintext credentials. |
NewCredentialsAllows the caller to clone its current token and specify new credentials for outbound connections. The new logon session has the same local identity but uses different credentials for other network connections. |
RemoteInteractiveA terminal server session that is both remote and interactive. |
CachedInteractiveAttempt to use the cached credentials without going out across the network. |
CachedRemoteInteractiveSame as RemoteInteractive, except used internally for auditing purposes. |
CachedUnlockThe logon is an attempt to unlock a workstation. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | ntsecapi.h |