Click or drag to resize

WindowsApiGetTokenInformation(IntPtr, WindowsApiTOKEN_INFORMATION_CLASS, WindowsApiTOKEN_ELEVATION_TYPE, UInt32, UInt32) Method

Win32 GetTokenInformation function.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.254-beta+b1c32a8191971a5ec09744a3eb270cb5508e892c
Syntax
[DllImportAttribute("advapi32.dll", SetLastError = true)]
public static bool GetTokenInformation(
	IntPtr TokenHandle,
	WindowsApiTOKEN_INFORMATION_CLASS TokenInformationClass,
	ref WindowsApiTOKEN_ELEVATION_TYPE TokenInformation,
	uint TokenInformationLength,
	out uint ReturnLength
)
View Source

Parameters

TokenHandle  IntPtr
 
TokenInformationClass  WindowsApiTOKEN_INFORMATION_CLASS
 
TokenInformation  WindowsApiTOKEN_ELEVATION_TYPE
 
TokenInformationLength  UInt32
 
ReturnLength  UInt32
 

Return Value

Boolean
See Also