Redigera

Dela via


WindowsIdentity.AccessToken Property

Definition

Gets this SafeAccessTokenHandle for this WindowsIdentity instance.

public:
 property Microsoft::Win32::SafeHandles::SafeAccessTokenHandle ^ AccessToken { Microsoft::Win32::SafeHandles::SafeAccessTokenHandle ^ get(); };
public Microsoft.Win32.SafeHandles.SafeAccessTokenHandle AccessToken { get; }
public Microsoft.Win32.SafeHandles.SafeAccessTokenHandle AccessToken { [System.Security.SecurityCritical] get; }
member this.AccessToken : Microsoft.Win32.SafeHandles.SafeAccessTokenHandle
[<get: System.Security.SecurityCritical>]
member this.AccessToken : Microsoft.Win32.SafeHandles.SafeAccessTokenHandle
Public ReadOnly Property AccessToken As SafeAccessTokenHandle

Property Value

Returns a SafeAccessTokenHandle.

Attributes

Applies to