Click or drag to resize
weroSoft AG, Software
LogonType Enumeration
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Provides the possible log-on types.

Namespace:  WeroSoft.PlatformInvoke
Assembly:  WeroSoft.PlatformInvoke.Library (in WeroSoft.PlatformInvoke.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public enum LogonType
Members
  Member nameValueDescription
Undfined0 The log-on type is undefined.
LogonInteractive2 This log-on type is intended for users who will be interactively using the computer, such as a user being logged on by a terminal server, remote shell, or similar process. This log-on type has the additional expense of caching log-on information for disconnected operations; therefore, it is inappropriate for some client/server applications, such as a mail server.
LogonNetwork3 This log-on type is intended for high performance servers to authenticate plain text passwords. The LogonUser function does not cache credentials for this log-on type.
LogonBatch4 This log-on type is intended for batch servers, where processes may be executing on behalf of a user without their direct intervention. This type is also for higher performance servers that process many plain text authentication attempts at a time, such as mail or web servers.
LogonService5 Indicates a service-type logon. The account provided must have the service privilege enabled.
LogonUnlock7 GINAs are no longer supported. Windows Server 2003 and Windows XP: This log-on type is for GINA DLLs that log on users who will be interactively using the computer. This log-on type can generate a unique audit record that shows when the workstation was unlocked.
LogonNetworkClearText8 This log-on type preserves the name and password in the authentication package, which allows the server to make connections to other network servers while impersonating the client. A server can accept plain text credentials from a client, call LogonUser, verify that the user can access the system across the network, and still communicate with other servers.
LogonNewCredentials9 This log-on type allows the caller to clone its current token and specify new credentials for outbound connections. The new log-on session has the same local identifier but uses different credentials for other network connections. This log-on type is supported only by the LOGON32_PROVIDER_WINNT50 log-on provider.
See Also