Partilhar via


SPFormsClaimProvider Class

This is a claim provider that exposes forms roles and memberships. The supported types are User and FormsRole based claims.

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

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

Remarks

Membership based claims use the Name claim type that specifies the membership name as the claim value and the String() claim value type.Roles based claims use the Role() claim type that specifies the group security identifier (SID) as the claim value and the String() claim value type. This keeps the values and value types generated during an NTLM based claims log in synchronized with the claim types,

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.

See Also

Reference

SPFormsClaimProvider Members

Microsoft.SharePoint.Administration.Claims Namespace