Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 SimpleMembershipProvider(
	MembershipProvider previousProvider


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.

© 2015 Microsoft