MOTOBIT.COM - ASP upload, IIS utility LogonTypes Enum, Member of UserManager

Member of  UserManager 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(0x20017), helpstring("Specifies the type of logon operation to perform.")]
enum LogonTypes{
	[helpcontext(0x20017), 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(0x20017), 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(0x20017), 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(0x20017), helpstring("Indicates a service-type logon. The account provided must have the service privilege enabled.")]
		ltService = 0x5
} LogonTypes;

Used in

Server.LogonUser

Other links for LogonTypes class

ActiveX UserManager classes

User, Users, Group, Server, Groups, GroupMembers, RasUser, Servers, Domain

ActiveX UserManager enums

UsersFilter, GroupAttributes, UserFlags, UserPrivileges, ServerTypes, LogonTypes, LogonProviders, OperatorPrivileges, RasPrivileges, SIDNameUse

UserManager

ActiveX UserManager is easy to use COM component with classes to create, delete and manage local and remote user accounts, groups, servers and domains in the Windows NT (2000/XP) environment. You can simple work with user accounts and groups from VBA, VBS/JS, ASP and T-SQL programming environment.

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