SPActiveDirectoryClaimProvider class
SPClaimProvider公開 Active Directory 物件。支援的類型為User、 DistributionList,以及SecurityGroup– 根據宣告。
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
'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPActiveDirectoryClaimProvider _
Inherits SPClaimProvider
'用途
Dim instance As SPActiveDirectoryClaimProvider
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPActiveDirectoryClaimProvider : SPClaimProvider
備註
使用者以宣告使用System.IdentityModel.Claims.ClaimTypes.Name的宣告類型] 使用者 NTLogin 名稱做為宣告值,並Microsoft.IdentityModel.Claims.ClaimValueTypes.String宣告值類型。作法上是宣告類型的值,且 NTLM 為基礎之宣告登入期間所產生的值類型與讓保持同步。
DistributionList 和 SecurityGroup – 基礎之宣告使用Microsoft.IdentityModel.Claims.ClaimTypes.GroupSid宣告類型,請使用 「 群組宣告值,以及Microsoft.IdentityModel.Claims.ClaimValueTypes.String sid 宣告值類型。作法上是宣告類型的值,且 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.