VirtualDirectory.LogonMethod Property


Gets or sets the authentication method that the virtual directory uses to access the configured physical location.

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

public AuthenticationLogonMethod LogonMethod { get; set; }

Property Value

Type: Microsoft.Web.Administration.AuthenticationLogonMethod

One of the AuthenticationLogonMethod values for the current virtual directory. The default is AuthenticationLogonMethod.ClearText.

The following example demonstrates how to set the LogonMethod property of a virtual directory.

Return to top