This documentation is archived and is not being maintained.
SidIdentityHelper Class
Visual Studio 2013
Helper methods for SID-based descriptors, like Windows and TFS.
Namespace: Microsoft.TeamFoundation.Framework.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
The SidIdentityHelper type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | ConstructWellKnownSid | Construct well-known Team Foundation identifier. |
![]() ![]() | DecodeSid | Convert a binary SID into its parts.The code for this conversion comes from the SecurityIdentifier object. |
![]() ![]() | EncodeSid | |
![]() ![]() | GetDomainSid | |
![]() ![]() | GetSidRid | |
![]() ![]() | IsBuiltInAccount | Determine 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. |
![]() ![]() | IsNTAccount | If 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. |
![]() ![]() | IsServiceAccount | Determines if this is the well-known SID for Network Service or Local Service. |
Show:
