AuthenticationLogonMethod Enumeration

 

Specifies the kind of authentication that you can use to establish a logon session for a secured virtual directory.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public enum AuthenticationLogonMethod

Member nameDescription
Batch

Allows processes to execute on behalf of a user without the user's direct intervention. The user must have user rights to log on as a batch job (used, for example, by COM+ applications). This logon type is intended for applications where logon performance is very important. The underlying call to the LogonUser function does not cache credentials for a user logged in with the Batch logon type.

ClearText

Allows a user who has only network user rights to log on with clear-text credentials. The server can accept the user credentials, call the LogonUser function, verify that the user can access the Web server across the network, and still communicate with other servers by using the stored clear-text credentials.

Interactive

Allows a user to log on interactively with the Web server. The underlying call to the LogonUser function caches credentials for disconnected operations.

Network

Allows a user to log on to a remote server on the network. This AuthenticationLogonMethod logon type is intended for high-performance servers to authenticate clear-text passwords. The underlying call to the LogonUser function does not cache credentials for this logon type.

You would typically use these logon modes when a virtual directory is mapped to a UNC path.

The following example creates a new application under the default Web site. The example then configures the application's default virtual directory to use batch authentication to log on to a UNC path.

Return to top
Show: