IdentityHelper 類別

繼承階層架構

System.Object
  Microsoft.TeamFoundation.Framework.Server.IdentityHelper

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public NotInheritable Class IdentityHelper
public static class IdentityHelper

IdentityHelper 類型會公開下列成員。

方法

  名稱 描述
公用方法靜態成員 CreateDescriptorFromSid(SecurityIdentifier) 請參閱多載。
公用方法靜態成員 CreateDescriptorFromSid(String) 建立 TFS 或 SID 的視窗描述項根據識別。如果這個型別已經知道,使用這個特定型別的建立方法會快速。TFS 群組 sids 開始 S-1-9-1551374245。類別會將視窗,已知的表單是 S-1-5-xxxx,,且有很好知道有表單 S-1-0, S-1-0-xx, S-1-2, S-1-3, S-1-3-xx, S-1-4, S-1-5 的 sids 的群組, S-1-5-xxx
公用方法靜態成員 CreateReadOnlyTeamFoundationDescriptor
公用方法靜態成員 CreateTeamFoundationDescriptor(SecurityIdentifier) 請參閱多載。
公用方法靜態成員 CreateTeamFoundationDescriptor(String) CreateTeamFoundationDescriptor
公用方法靜態成員 CreateUnauthenticatedDescriptor(SecurityIdentifier)
公用方法靜態成員 CreateUnauthenticatedDescriptor(String)
公用方法靜態成員 CreateWindowsDescriptor(SecurityIdentifier) 請參閱多載。
公用方法靜態成員 CreateWindowsDescriptor(String) CreateWindowsDescriptor
公用方法靜態成員 GetDomainUserName
公用方法靜態成員 GetPreferredEmailAddress
公用方法靜態成員 GetUniqueName(Identity) 產生識別唯一的名稱
公用方法靜態成員 GetUniqueName(String, String, Int32)
公用方法靜態成員 IsEmailConfirmationPending
公用方法靜態成員 IsServiceIdentity

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.TeamFoundation.Framework.Server 命名空間