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)

'Declaration
Public Sub New ( _
	previousProvider As MembershipProvider _
)
'Usage
Dim previousProvider As MembershipProvider

Dim instance As New SimpleMembershipProvider(previousProvider)

Parameters

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.
Show:
© 2014 Microsoft