NativeMethods.NameToSid-Methode (String, String%, NativeMethods.AccountType%)

Dieser Typ besitzt ein SecurityCriticalAttribute-Attribut, das ihn auf die interne Verwendung durch .NET Framework für die Silverlight-Klassenbibliothek beschränkt. Anwendungscode, der einen beliebigen Member dieses Typs verwendet, löst eine MethodAccessException aus.

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

Syntax

'Declaration
Public Shared Function NameToSid ( _
    accountName As String, _
    <OutAttribute> ByRef domainName As String, _
    <OutAttribute> ByRef accountType As NativeMethods.AccountType _
) As Byte()
public static byte[] NameToSid(
    string accountName,
    out string domainName,
    out NativeMethods.AccountType accountType
)

Parameter

Rückgabewert

Typ: array<System.Byte[]

Siehe auch

Referenz

NativeMethods Klasse

NameToSid-Überladung

Microsoft.TeamFoundation.Common.Internal-Namespace