共用方式為


SPFormsClaimProvider class

這是會公開表單角色和成員資格的宣告提供者。支援的類型是UserFormsRole基礎宣告。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.Claims.SPClaimProvider
    Microsoft.SharePoint.Administration.Claims.SPFormsClaimProvider

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

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPFormsClaimProvider _
    Inherits SPClaimProvider
'用途
Dim instance As SPFormsClaimProvider
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPFormsClaimProvider : SPClaimProvider

備註

成員資格以宣告使用指定的成員資格名稱,如宣告值,而且**String()宣告值類型Name宣告類型。角色型宣告使用指定的群組安全性識別碼 (SID) 做為宣告值Role()宣告類型和String()**宣告值類型。這會保存值,並與宣告類型,同步處理期間的 NTLM 架構宣告記錄中產生的值類型

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPFormsClaimProvider members

Microsoft.SharePoint.Administration.Claims namespace