LogonTypes | ||
Enum | ||
Member of ScriptUtils Use LogonTypes object |
ltInteractive = &H2 | 2 | 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 | 3 | 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 | 4 | 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 | 5 | Indicates a service-type logon. The account provided must have the service privilege enabled. |
'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;