Condividi tramite


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

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