IdentityHelper Class

Helper class to manage Team Foundation identity descriptors.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.IdentityHelper

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public NotInheritable Class IdentityHelper
public static class IdentityHelper
public ref class IdentityHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type IdentityHelper =  class end
public final class IdentityHelper

The IdentityHelper type exposes the following members.

Methods

  Name Description
Public methodStatic member CreateDescriptorFromSid(SecurityIdentifier) Creates a Team Foundation identity descriptor from the specified SID.
Public methodStatic member CreateDescriptorFromSid(String) Creates a Team Foundation identity descriptor from the specified SID.
Public methodStatic member CreateTeamFoundationDescriptor(SecurityIdentifier) Creates a Team Foundation identity descriptor from the specified SID.
Public methodStatic member CreateTeamFoundationDescriptor(String) Creates a Team Foundation identity descriptor from the specified SID.
Public methodStatic member CreateWindowsDescriptor(SecurityIdentifier) Creates a Windows identity descriptor from the specified SID.
Public methodStatic member CreateWindowsDescriptor(String) Creates a Windows identity descriptor from the specified SID.
Public methodStatic member GetDomainName Gets the domain name of the specified identity.
Public methodStatic member GetDomainUserName(TeamFoundationIdentity) Gets the display name of the specified identity.
Public methodStatic member GetDomainUserName(TeamFoundationIdentity, String%) Gets the display name of the specified identity. Also returns the uniquely resolvable name.

Top

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

Microsoft.TeamFoundation.Framework.Client Namespace