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