asp.net.ph

AuthenticationMode Enumeration

System.Web.Configuration Namespace


Specifies the authentication mode to use in a Web application.

Members


Member Description
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.

Remarks

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

Example

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

// Get the current Mode property.
AuthenticationMode currentMode = authenticationSection.Mode;

// Set the Mode property to Windows.
authenticationSection.Mode = AuthenticationMode.Windows;
  C# VB

See Also

<authentication> Section   AuthenticationSection Class   ASP.NET Authentication Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note