Compartilhar via


SPIisSettings.RoleManager Property

NOTE: This API is now obsolete.

Gets or sets the role 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 RoleManager As String
    Get
    Set
'Usage
Dim instance As SPIisSettings
Dim value As String

value = instance.RoleManager

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

Property Value

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

See Also

Reference

SPIisSettings Class

SPIisSettings Members

Microsoft.SharePoint.Administration Namespace