2 references to ImpersonateLoggedOnUser
System.Security.Principal.Windows (2)
System\Security\Principal\WindowsIdentity.cs (2)
784
if (!token.IsInvalid && !Interop.Advapi32.
ImpersonateLoggedOnUser
(token))
804
if (!Interop.Advapi32.
ImpersonateLoggedOnUser
(args.CurrentValue))