WindowsIdentity.AccessToken Propriété

Définition

Obtient ce SafeAccessTokenHandle pour cette instance de WindowsIdentity.

public Microsoft.Win32.SafeHandles.SafeAccessTokenHandle AccessToken { get; }
public Microsoft.Win32.SafeHandles.SafeAccessTokenHandle AccessToken { [System.Security.SecurityCritical] get; }

Valeur de propriété

Retourne SafeAccessTokenHandle.

Attributs

S’applique à

Produit Versions
.NET Core 1.0, Core 1.1, 6, 7, 8, 9
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5