Delen via


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 CreateReadOnlyTeamFoundationDescriptor
Public methodStatic member CreateTeamFoundationDescriptor(SecurityIdentifier) See overload.
Public methodStatic member CreateTeamFoundationDescriptor(String) CreateTeamFoundationDescriptor
Public methodStatic member CreateUnauthenticatedDescriptor(SecurityIdentifier)
Public methodStatic member CreateUnauthenticatedDescriptor(String)
Public methodStatic member CreateWindowsDescriptor(SecurityIdentifier) See overload.
Public methodStatic member CreateWindowsDescriptor(String) CreateWindowsDescriptor
Public methodStatic member GetDomainUserName
Public methodStatic member GetPreferredEmailAddress
Public methodStatic member GetUniqueName(Identity) Generate Identity unique name
Public methodStatic member GetUniqueName(String, String, Int32)
Public methodStatic member IsEmailConfirmationPending
Public methodStatic member IsServiceIdentity

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