Main Page

  Previous Section Next Section


System.Web.Configuration (system.web.dll)enum

This enumeration can be used to specify the type of ASP.NET authentication. It is not used in ASP.NET code, but it is used internally by the ASP.NET runtime. You can indicate the AuthenticationMode for an application using the web.config file by setting the mode attribute in the authentication tag (for example, <authentication mode="Forms">). The authentication mode you select determines which HttpModule from the System.Web.Security namespace is used to validate a user's credentials.

public enum AuthenticationMode {
   None = 0,
   Windows = 1,
   Passport = 2,
   Forms = 3


System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) AuthenticationMode

      Previous Section Next Section