System.Web.Security.MembershipProvider Class

Defines the contract that ASP.NET implements to provide membership services using custom membership providers.

See Also: MembershipProvider Members

Syntax

public abstract class MembershipProvider : System.Configuration.Provider.ProviderBase

Remarks

ASP.NET membership is designed to enable you to easily use a number of different membership providers for your ASP.NET applications. You can use the supplied membership providers that are included with the .NET Framework, or you can implement your own provider.

Note:

If you are not familiar with the membership features of ASP.NET, see Introduction to Membership before continuing. For a list of other topics related to membership, see Managing Users By Using Membership.

When implementing a custom membership provider, you are required to inherit the System.Web.Security.MembershipProvider abstract class.

There are two primary reasons for creating a custom membership provider.

The System.Web.Security.MembershipProvider abstract class inherits from the System.Configuration.Provider.ProviderBase abstract class. System.Web.Security.MembershipProvider implementations must also implement the required members of System.Configuration.Provider.ProviderBase.

Requirements

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