Share via


SidIdentityHelper.IsBuiltInAccount Method

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.

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

Syntax

'Declaration
Public Shared Function IsBuiltInAccount ( _
    binarySid As Byte() _
) As Boolean
public static bool IsBuiltInAccount(
    byte[] binarySid
)
public:
static bool IsBuiltInAccount(
    array<unsigned char>^ binarySid
)
static member IsBuiltInAccount : 
        binarySid:byte[] -> bool
public static function IsBuiltInAccount(
    binarySid : byte[]
) : boolean

Parameters

Return Value

Type: System.Boolean
True if SID has "BUILTIN" as its domain; otherwise, false.

.NET Framework Security

See Also

Reference

SidIdentityHelper Class

Microsoft.TeamFoundation.Framework.Common Namespace