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.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.