Freigeben über


SidIdentityHelper.IsServiceAccount-Methode

Bestimmt, ob dieses das bekannte SIDs für Netzwerkdienst oder lokalen Dienst ist.

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

Syntax

'Declaration
Public Shared Function IsServiceAccount ( _
    sid As Byte() _
) As Boolean
public static bool IsServiceAccount(
    byte[] sid
)

Parameter

  • sid
    Typ: array<System.Byte[]
    , in binärer Form SID, zu überprüfen.

Rückgabewert

Typ: System.Boolean
True, wenn dieses Netzwerkdienst oder lokaler Dienst ist; andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

SidIdentityHelper Klasse

Microsoft.TeamFoundation.Framework.Common-Namespace