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