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)
Available in Sandboxed Solutions: No

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