AuthenticationMode Enumeration


Specifies the authentication mode to use in a Web application.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public enum class AuthenticationMode

Member nameDescription

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


Specifies no authentication.


Obsolete. Specifies Microsoft Passport as the authentication mode.


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.

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

The following code example shows how to access the Mode property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top