SPIisSettings.MembershipProvider property

NOTE: This API is now obsolete.

Gets or sets the membership provider name for the Web application.

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

Syntax

'Declaration
<ObsoleteAttribute("Use of forms based authentication has been moved to claims authentication only.",  _
    False)> _
Public Property MembershipProvider As String
    Get
    Set
'Usage
Dim instance As SPIisSettings
Dim value As String

value = instance.MembershipProvider

instance.MembershipProvider = value
[ObsoleteAttribute("Use of forms based authentication has been moved to claims authentication only.", 
    false)]
public string MembershipProvider { get; set; }

Property value

Type: System.String
A string that contains the name of the membership provider name, which must be identical to the name specified in the Web.config file for the membership provider. You might need to manually configure additional properties for the membership provider in the web.config file.

See also

Reference

SPIisSettings class

SPIisSettings members

Microsoft.SharePoint.Administration namespace