SimpleMembershipProvider Constructor (MembershipProvider)

Initializes a new instance of the SimpleMembershipProvider class by using the specified membership provider.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

public function SimpleMembershipProvider(
	previousProvider : MembershipProvider


Type: System.Web.Security.MembershipProvider
The membership provider to use.

The SimpleMembershipProvider instance is not active until the Initialize(String, NameValueCollection) method is called. If the SimpleMembershipProvider instance is not active, membership calls will be passed to the membership provider that is specified by the previousProvider parameter.

For more information, see the SimpleMembershipProvider class overview.