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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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