IdentityHelper 类

继承层次结构

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

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
<ExtensionAttribute> _
Public NotInheritable Class IdentityHelper
public static class IdentityHelper

IdentityHelper 类型公开以下成员。

方法

  名称 描述
公共方法静态成员 CreateDescriptorFromAccountName
公共方法静态成员 CreateDescriptorFromSid(SecurityIdentifier) 请参见超负载。
公共方法静态成员 CreateDescriptorFromSid(String) 创建 TFS 或 windows 描述符 SID 基于标识的。如果该类型已经知道,使用类型特定的创建方法会更快。TFS 组 SID 从 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 的 SID 的组中,S-1-5-xxx
公共方法静态成员 CreateReadOnlyTeamFoundationDescriptor
公共方法静态成员 CreateReadOnlyUnauthenticatedDescriptor
公共方法静态成员 CreateTeamFoundationDescriptor(SecurityIdentifier) 请参见超负载。
公共方法静态成员 CreateTeamFoundationDescriptor(String) CreateTeamFoundationDescriptor
公共方法静态成员 CreateUnauthenticatedDescriptor(SecurityIdentifier)
公共方法静态成员 CreateUnauthenticatedDescriptor(String)
公共方法静态成员 CreateWindowsDescriptor(SecurityIdentifier) 请参见超负载。
公共方法静态成员 CreateWindowsDescriptor(String) CreateWindowsDescriptor
公共方法静态成员 GetAlternateIdentity(IdentityService, TeamFoundationRequestContext, TeamFoundationRequestContext, Identity) 已过时。
公共方法静态成员 GetAlternateIdentity(IdentityService, TeamFoundationRequestContext, TeamFoundationRequestContext, Guid) 已过时。
公共方法静态成员 GetDisplayNameFromDistinctDisplayName
公共方法静态成员 GetDomainUserName
公共方法静态成员 GetForeignPrincipalMsaIdentity(IdentityService, TeamFoundationRequestContext, TeamFoundationRequestContext, Identity) 已过时。
公共方法静态成员 GetForeignPrincipalMsaIdentity(IdentityService, TeamFoundationRequestContext, TeamFoundationRequestContext, Guid) 已过时。
公共方法静态成员 GetIdentityServiceBehavior 已过时。
公共方法静态成员 GetOrCreateBindPendingIdentity
公共方法静态成员 GetPreferredEmailAddress
公共方法静态成员 GetPrimaryMsaIdentity
公共方法静态成员 GetPuid(TeamFoundationRequestContext, Identity)
公共方法静态成员 GetPuid(TeamFoundationRequestContext, IdentityDescriptor)
公共方法静态成员 GetPuidInStorageFormat
公共方法静态成员 GetUniqueName(Identity) 生成标识唯一名称
公共方法静态成员 GetUniqueName(String, String, Int32)
公共方法静态成员 GetUniqueNameFromDistinctDisplayName
公共方法静态成员 IsDistinctDisplayName
公共方法静态成员 IsEmailConfirmationPending
公共方法静态成员 IsServiceIdentity(TeamFoundationRequestContext, Identity)
公共方法静态成员 IsServiceIdentity(TeamFoundationRequestContext, Guid)
公共方法静态成员 IsServicePrincipal(Identity)
公共方法静态成员 IsServicePrincipal(IdentityDescriptor)
公共方法静态成员 IsUserIdentity
公共方法静态成员 IsValidBindPendingDescriptor
公共方法静态成员 IsValidLegacyBindPendingDescriptor
公共方法静态成员 IsValidUserDomain
公共方法静态成员 RetrieveDomainAndAccountNameFromBindPendingDescriptor
公共方法静态成员 RetrieveDomainAndAccountNameFromBindPendingIdentifier
公共方法静态成员 WithIdentityServiceBehavior 已过时。

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.TeamFoundation.Framework.Server 命名空间