IdentityHelper Class

Inheritance Hierarchy

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

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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) See overload.
Public methodStatic member CreateDescriptorFromSid(String) Create TFS or Windows descriptor for SID based identities. If the type is already known, using the type specific Create method will be faster. TFS group sids start with S-1-9-1551374245. Anything else is treated as Windows, known forms are S-1-5-xxxx, and there are well know groups that have sids of the form S-1-0, S-1-0-xx, S-1-2, S-1-3, S-1-3-xx, S-1-4, S-1-5, S-1-5-xxx
Public methodStatic member CreateTeamFoundationDescriptor(SecurityIdentifier) See overload.
Public methodStatic member CreateTeamFoundationDescriptor(String) CreateTeamFoundationDescriptor
Public methodStatic member CreateUnauthenticatedDescriptor
Public methodStatic member CreateWindowsDescriptor(SecurityIdentifier) See overload.
Public methodStatic member CreateWindowsDescriptor(String) CreateWindowsDescriptor
Public methodStatic member GetDomainName
Public methodStatic member GetDomainUserName(TeamFoundationIdentity)
Public methodStatic member GetDomainUserName(TeamFoundationIdentity, String%)
Public methodStatic member IdentityHasName

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.Server Namespace