共用方式為


SidIdentityHelper.IsNTAccount Method

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.

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

Syntax

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

Parameters

  • sid
    Type: array<System.Byte[]

    SID to check, in binary form.

Return Value

Type: System.Boolean
True if this is an NT Identity; otherwise, false.

.NET Framework Security

See Also

Reference

SidIdentityHelper Class

Microsoft.TeamFoundation.Framework.Common Namespace