Click or drag to resize

LogonType Enumeration

The type of logon operation to perform

Namespace:  Cauldron
Assembly:  Cauldron.Win32.Impersonation (in Cauldron.Win32.Impersonation.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public enum LogonType
Members
  Member nameValueDescription
Interactive2 This logon 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 logon type has the additional expense of caching logon information for disconnected operations; therefore, it is inappropriate for some client/server applications, such as a mail server.
Network3 This logon type is intended for high performance servers to authenticate plaintext passwords. The LogonUser function does not cache credentials for this logon type.
Batch4 This logon 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 plaintext authentication attempts at a time, such as mail or web servers.
Service5 Indicates a service-type logon. The account provided must have the service privilege enabled.
NetworkCleartext8 This logon 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 plaintext credentials from a client, call LogonUser, verify that the user can access the system across the network, and still communicate with other servers.
NewCredentials9 This logon type allows the caller to clone its current token and specify new credentials for outbound connections. The new logon session has the same local identifier but uses different credentials for other network connections.
See Also