共用方式為


SPIisSettings.RoleManager property

NOTE: This API is now obsolete.

取得或設定 Web 應用程式的角色提供者名稱。

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

Syntax

'宣告
<ObsoleteAttribute("Use of forms based authentication has been moved to claims authentication only.",  _
    False)> _
Public Property RoleManager As String
    Get
    Set
'用途
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
字串,指定角色提供者名稱,這必須是相同的角色提供者的 web.config 檔案中指定的名稱。您可能需要設定的角色提供者的 web.config 檔案中手動其他屬性。

請參閱

參照

SPIisSettings class

SPIisSettings members

Microsoft.SharePoint.Administration namespace