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; }
[get: System.Security.SecurityCritical]
public Microsoft.Win32.SafeHandles.SafeAccessTokenHandle AccessToken { 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

SafeAccessTokenHandle

Returns a SafeAccessTokenHandle.

Attributes

Applies to