LogonTypes

          Enum 
          Member of  ScriptUtils Use LogonTypes object 

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  
'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
'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
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
//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
// LogonTypes
typedef [helpstring("Specifies the type of logon operation to perform.")]
enum LogonTypes{
	[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,
	[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,
	[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,
	[helpstring("Indicates a service-type logon. The account provided must have the service privilege enabled.")]
		ltService = 0x5
} LogonTypes;
Used in
  Other links for LogonTypes class
ScriptUtilities and Huge ASP file upload classes
      Easy to use, hi-performance ASP file upload component with progress bar indicator. Let's you upload multiple files with size up to 2GB to a disk or database along with another form fields. Works with large posts, any character set (including unicode utf-8). Contains one-click multiple files/folders download with on-the-fly compression (Using BinaryWrite/BinaryRead).
      Hi-performance text file logging for ASP/VBScript/VBA applications. Lets you create daily/weekly/monthly log files with variable number of logged values and extra timing and performance info.
       Lets you work with safearray binary data in VBS/JS. It also enables conversion between binary and String data using several code pages. ZLib compress and uncompress functions. Lets you transfer files using compressed stream from a client to server using IE.
      This library also enables calling of some Kernel and Advapi functions (performance, timing, sleep, configuration ...) and enables native work with INI files.


© 1996 – 2005 Motobit Software, help{at}pstruh.cz, help v. 2.16.14