Share via


SPFormsAuthenticationProvider.MembershipProvider property

Gets and sets the membership provider name for SharePoint to call to create, verify, manage, and authenticate users.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property MembershipProvider As String
    Get
    Set
'Usage
Dim instance As SPFormsAuthenticationProvider
Dim value As String

value = instance.MembershipProvider

instance.MembershipProvider = value
public string MembershipProvider { get; set; }

Property value

Type: System.String
A String that contains the membership provider name.

Remarks

This name must be the same as the name specified in the Web.config file for the membership provider.

See also

Reference

SPFormsAuthenticationProvider class

SPFormsAuthenticationProvider members

Microsoft.SharePoint.Administration namespace