SimpleMembershipProvider Constructor (MembershipProvider)
Initializes a new instance of the SimpleMembershipProvider class by using the specified membership provider.
Assembly: WebMatrix.WebData (in WebMatrix.WebData.dll)
'Declaration Public Sub New ( _ previousProvider As MembershipProvider _ ) 'Usage Dim previousProvider As MembershipProvider Dim instance As New SimpleMembershipProvider(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.