System.Web.Configuration.MembershipSection.DefaultProvider Property

Gets or sets the name of the default provider that is used to manage roles.

Syntax

[System.Configuration.ConfigurationProperty("defaultProvider", DefaultValue="AspNetSqlMembershipProvider")]
[System.Configuration.StringValidator(MinLength=1)]
public string DefaultProvider { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The MembershipSection.DefaultProvider must match a named value in the providers subsection of the membership section of the configuration file. An empty string ("") is not a valid value for the MembershipSection.DefaultProvider property.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0