Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- binarySid
Type: array<System.Byte[]
Return Value
Type: System.Boolean
True if SID has "BUILTIN" as its domain; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.