GetCurrentThreadEffectiveToken function advapi32

int GetCurrentThreadEffectiveToken()

Retrieves a pseudo-handle that you can use as a shorthand way to refer to the impersonation token that was assigned to the current thread.

Implementation

int GetCurrentThreadEffectiveToken() => -6.toUnsigned(32);