Share via


SPActiveDirectoryClaimProvider class

An SPClaimProvider that exposes Active Directory objects. The types supported are User, DistributionList, and SecurityGroup–based claims.

Inheritance hierarchy

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

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

Syntax

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

Remarks

User based claims use the System.IdentityModel.Claims.ClaimTypes.Name claim type, the user NTLogin name as the claim value, and the Microsoft.IdentityModel.Claims.ClaimValueTypes.String claim value type. This is done to keep in sync with the claim types, values, and value types generated during a NTLM-based claims login.

DistributionList and SecurityGroup–based claims use the Microsoft.IdentityModel.Claims.ClaimTypes.GroupSid claim type, use the groups sid as the claim value, and the Microsoft.IdentityModel.Claims.ClaimValueTypes.String claim value type. This is done to keep in sync with the claim types, values, and value types generated during a NTLM-based claims login.

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

SPActiveDirectoryClaimProvider members

Microsoft.SharePoint.Administration.Claims namespace