LogonTypes Enum, Member of ScriptUtils

Member of  ScriptUtils Use LogonTypes object | Changes | Purchase | Download

Description

Specifies the type of logon operation to perform.

Values

ltInteractive = &H2 For users who will be interactively using the machine, 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 operation, and is therefore inappropriate for some client/server applications, such as a mail server.
ltNetwork = &H3 For high performance servers to authenticate clear text passwords. LogonUser does not cache credentials for this logon type. This is the fastest logon path.
ltBatch = &H4 For batch servers, where processes may be executing on behalf of a user without their direct intervention; or for higher performance servers that process many clear-text authentication attempts at a time, such as mail or web servers. LogonUser does not cache credentials for this logon type.
ltService = &H5 Indicates a service-type logon. The account provided must have the service privilege enabled.

Includes

VBS include

'LogonTypes - begin
Public Const ltInteractive = &H2 'For users who will be interactively using the machine, 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 operation, and is therefore inappropriate for some client/server applications, such as a mail server.
Public Const ltNetwork = &H3 'For high performance servers to authenticate clear text passwords. LogonUser does not cache credentials for this logon type. This is the fastest logon path.
Public Const ltBatch = &H4 'For batch servers, where processes may be executing on behalf of a user without their direct intervention; or for higher performance servers that process many clear-text authentication attempts at a time, such as mail or web servers. LogonUser does not cache credentials for this logon type.
Public Const ltService = &H5 'Indicates a service-type logon. The account provided must have the service privilege enabled.
'LogonTypes - end

VB4 include

'LogonTypes - begin
Public Const ltInteractive As Long = &H2 'For users who will be interactively using the machine, 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 operation, and is therefore inappropriate for some client/server applications, such as a mail server.
Public Const ltNetwork As Long = &H3 'For high performance servers to authenticate clear text passwords. LogonUser does not cache credentials for this logon type. This is the fastest logon path.
Public Const ltBatch As Long = &H4 'For batch servers, where processes may be executing on behalf of a user without their direct intervention; or for higher performance servers that process many clear-text authentication attempts at a time, such as mail or web servers. LogonUser does not cache credentials for this logon type.
Public Const ltService As Long = &H5 'Indicates a service-type logon. The account provided must have the service privilege enabled.
'LogonTypes - end

VB5 include

Public Enum LogonTypes
  ltInteractive = &H2 'For users who will be interactively using the machine, 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 operation, and is therefore inappropriate for some client/server applications, such as a mail server.
  ltNetwork = &H3 'For high performance servers to authenticate clear text passwords. LogonUser does not cache credentials for this logon type. This is the fastest logon path.
  ltBatch = &H4 'For batch servers, where processes may be executing on behalf of a user without their direct intervention; or for higher performance servers that process many clear-text authentication attempts at a time, such as mail or web servers. LogonUser does not cache credentials for this logon type.
  ltService = &H5 'Indicates a service-type logon. The account provided must have the service privilege enabled.
End Enum 'LogonTypes

JScript include

//LogonTypes - begin
var ltInteractive = 0x2; //For users who will be interactively using the machine, 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 operation, and is therefore inappropriate for some client/server applications, such as a mail server.
var ltNetwork = 0x3; //For high performance servers to authenticate clear text passwords. LogonUser does not cache credentials for this logon type. This is the fastest logon path.
var ltBatch = 0x4; //For batch servers, where processes may be executing on behalf of a user without their direct intervention; or for higher performance servers that process many clear-text authentication attempts at a time, such as mail or web servers. LogonUser does not cache credentials for this logon type.
var ltService = 0x5; //Indicates a service-type logon. The account provided must have the service privilege enabled.
//LogonTypes - end

IDL include

// LogonTypes
typedef [helpcontext(0x20035), helpstring("Specifies the type of logon operation to perform.")]
enum LogonTypes{
	[helpcontext(0x20035), helpstring("For users who will be interactively using the machine, 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 operation, and is theref")]
		ltInteractive = 0x2,
	[helpcontext(0x20035), helpstring("For high performance servers to authenticate clear text passwords. LogonUser does not cache credentials for this logon type. This is the fastest logon path.")]
		ltNetwork = 0x3,
	[helpcontext(0x20035), helpstring("For batch servers, where processes may be executing on behalf of a user without their direct intervention; or for higher performance servers that process many clear-text authentication attempts at a time, such as mail or web servers. LogonUser does not ca")]
		ltBatch = 0x4,
	[helpcontext(0x20035), helpstring("Indicates a service-type logon. The account provided must have the service privilege enabled.")]
		ltService = 0x5
} LogonTypes;

Used in

Advapi.LogonUser

Other links for LogonTypes class

ASP file upload and ScriptUtilities classes

Kernel, ByteArray, Process, Thread, Advapi, INIFile, ZLib, LogFile, ASPForm, FormFields, FormField, FormParser, ProgressInfo

ASP file upload and ScriptUtilities enums

ProcessCreationFlags, ThreadPriorities, PriorityClasses, LogonTypes, ConvertCodePages, OutputTypes, ZLibCompressLevels, ConvertTypes, LogLineEncodes, LogLineBeginTypes, FormStates, eFormType

ScriptUtils

Huge ASP upload is easy to use, hi-performance ASP file upload component with progress bar indicator. This component lets you upload multiple files with size up to 4GB to a disk or a database along with another form fields. Huge ASP file upload is a most featured upload component on a market with competitive price and a great performance . The software has also a free version of asp upload with progress, called Pure asp upload , written in plain VBS, without components (so you do not need to install anything on server). This installation package contains also ScriptUtilities library. Script Utilities lets you create hi-performance log files , works with binary data , you can download multiple files with zip/arj compression, work with INI files and much more with the ASP utility.

© 1996 - 2011 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz


Other Motobit links:   IISTracer, real-time IIS monitor   ASP file upload - upload files to ASP. 
ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object