Click or drag to resize

WindowsApiDuplicateToken Method

Win32 DuplicateToken function.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax
[DllImportAttribute("advapi32.dll", SetLastError = true)]
public static bool DuplicateToken(
	IntPtr existingTokenHandle,
	int securityImpersonationLevel,
	ref IntPtr duplicateTokenHandle
)
View Source

Parameters

existingTokenHandle  IntPtr
 
securityImpersonationLevel  Int32
 
duplicateTokenHandle  IntPtr
 

Return Value

Boolean
See Also