2 references to SetThreadToken
System.Web (2)
ImpersonationContext.cs (2)
62
if (UnsafeNativeMethods.
SetThreadToken
(IntPtr.Zero, token.Handle) == 0) {
86
if (UnsafeNativeMethods.
SetThreadToken
(IntPtr.Zero, _savedToken.Handle) == 0) {