AuthenticationMode Enumeration

 

Specifies the authentication mode to use in a Web application.

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

type AuthenticationMode

Member nameDescription
Forms

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

None

Specifies no authentication.

Passport

Obsolete.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.

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
Show: