Click or drag to resize

ImpersonationDuplicateToken Method

Namespace:  Scilligence.MolEngine.Companion
Assembly:  Scilligence.MolEngine.Companion (in Scilligence.MolEngine.Companion.dll) Version: 1.3.0.0 (7.0.0.40031)
Syntax
C#
public static int DuplicateToken(
	IntPtr hToken,
	int impersonationLevel,
	ref IntPtr hNewToken
)

Parameters

hToken
Type: SystemIntPtr
impersonationLevel
Type: SystemInt32
hNewToken
Type: SystemIntPtr

Return Value

Type: Int32
See Also