Export (0) Print
Expand All

SidIdentityHelper Class

Helper methods for SID-based descriptors, like Windows and TFS.

System.Object
  Microsoft.TeamFoundation.Framework.Common.SidIdentityHelper

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

public static class SidIdentityHelper

The SidIdentityHelper type exposes the following members.

  NameDescription
Public methodStatic memberConstructWellKnownSidConstruct well-known Team Foundation identifier.
Public methodStatic memberDecodeSidConvert a binary SID into its parts.The code for this conversion comes from the SecurityIdentifier object.
Public methodStatic memberEncodeSid
Public methodStatic memberGetDomainSid
Public methodStatic memberGetSidRid
Public methodStatic memberIsBuiltInAccountDetermine if this is the SID of one of the built-in accounts. All built-in accounts come from the Windows NT Authority (5) and have 32 as their first sub authority.
Public methodStatic memberIsNTAccountIf this is the SID of an NT Identity, then NT Identities can come from either the SAM database or Active Directory. They come from the Windows NT Authority (5) and have 21 as their first sub authority.
Public methodStatic memberIsServiceAccountDetermines if this is the well-known SID for Network Service or Local Service.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft