System.Web.Configuration.AuthenticationMode Enumeration

Specifies the authentication mode to use in a Web application.

Syntax

public enum AuthenticationMode

Remarks

Use the AuthenticationSection.Mode property to programmatically configure the type of authentication used by a Web application,

Members

Member NameDescription
Forms

Specifies ASP.NET Forms-based authentication as the authentication mode.

None

Specifies no authentication.

Passport

Specifies Microsoft Passport as the authentication mode.

Windows

Specifies Windows as the authentication mode. This mode applies when using the Internet Information Services (IIS) authentication methods Basic, Digest, Integrated Windows (NTLM/Kerberos), or certificates.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0