SidIdentityHelper Class
Helper methods for SID-based descriptors, like Windows and TFS.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Common.SidIdentityHelper
Namespace: Microsoft.TeamFoundation.Framework.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public NotInheritable Class SidIdentityHelper
public static class SidIdentityHelper
public ref class SidIdentityHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type SidIdentityHelper = class end
public final class SidIdentityHelper
The SidIdentityHelper type exposes the following members.
Methods
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. |
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.