Home
last modified time | relevance | path

Searched refs:ImpersonateLoggedOnUser (Results 1 – 25 of 217) sorted by relevance

123456789

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/security/principal/
H A Dwindowsimpersonationcontext.cs74 hr = Win32.ImpersonateLoggedOnUser(m_safeTokenHandle); in Undo()
107 hr = Win32.ImpersonateLoggedOnUser(m_safeTokenHandle); in UndoNoThrow()
H A Dwin32.cs439 internal static extern int ImpersonateLoggedOnUser (SafeAccessTokenHandle hToken); in ImpersonateLoggedOnUser() method in System.Security.Principal.Win32
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/Interop/Windows/advapi32/
H A DInterop.ImpersonateLoggedOnUser.cs14 internal static extern bool ImpersonateLoggedOnUser(SafeAccessTokenHandle userToken); in ImpersonateLoggedOnUser() method in Interop.Advapi32
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/updater/win/
H A Dscoped_impersonation.cc16 result_ = ::ImpersonateLoggedOnUser(token) ? S_OK : HRESULTFromLastError(); in Impersonate()
/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/host/file_transfer/
H A Densure_user_win.cc28 if (!ImpersonateLoggedOnUser(scoped_user_token.Get())) { in EnsureUserContext()
/dports/www/firefox/firefox-99.0/toolkit/components/maintenanceservice/tests/gtest/
H A DServiceStartInteractiveOnly.cpp37 success = ImpersonateLoggedOnUser(restrictedToken); in TEST()
/dports/net/tigervnc-viewer/tigervnc-1.12.0/win/rfb_win32/
H A DCurrentUser.cxx92 if (!ImpersonateLoggedOnUser(token)) { in ImpersonateCurrentUser()
/dports/net/tigervnc-server/tigervnc-1.12.0/win/rfb_win32/
H A DCurrentUser.cxx92 if (!ImpersonateLoggedOnUser(token)) { in ImpersonateCurrentUser()
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/module_utils/csharp/
H A DAnsible.AccessToken.cs79 public static extern bool ImpersonateLoggedOnUser( in ImpersonateLoggedOnUser() method in Ansible.AccessToken.NativeMethods
361 if (!NativeMethods.ImpersonateLoggedOnUser(hToken)) in ImpersonateToken()
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/module_utils/csharp/
H A DAnsible.AccessToken.cs79 public static extern bool ImpersonateLoggedOnUser( in ImpersonateLoggedOnUser() method in Ansible.AccessToken.NativeMethods
364 if (!NativeMethods.ImpersonateLoggedOnUser(hToken)) in ImpersonateToken()
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/lib/ansible/module_utils/csharp/
H A DAnsible.AccessToken.cs79 public static extern bool ImpersonateLoggedOnUser( in write_to_file_descriptor()
364 if (!NativeMethods.ImpersonateLoggedOnUser(hToken))
/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/host/win/
H A Dlaunch_process_with_token.cc95 if (!ImpersonateLoggedOnUser(privileged_token.Get())) { in CreateSessionToken()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/win/src/
H A Dapp_container_profile_base.cc69 BOOL result = ::ImpersonateLoggedOnUser(token.Get()); in ScopedImpersonation()
/dports/www/firefox-esr/firefox-91.8.0/security/sandbox/chromium/sandbox/win/src/
H A Dapp_container_profile_base.cc71 BOOL result = ::ImpersonateLoggedOnUser(token.Get()); in ScopedImpersonation()
/dports/www/firefox/firefox-99.0/security/sandbox/chromium/sandbox/win/src/
H A Dapp_container_profile_base.cc71 BOOL result = ::ImpersonateLoggedOnUser(token.Get()); in ScopedImpersonation()
/dports/mail/thunderbird/thunderbird-91.8.0/security/sandbox/chromium/sandbox/win/src/
H A Dapp_container_profile_base.cc71 BOOL result = ::ImpersonateLoggedOnUser(token.Get()); in ScopedImpersonation()
/dports/lang/spidermonkey78/firefox-78.9.0/security/sandbox/chromium/sandbox/win/src/
H A Dapp_container_profile_base.cc71 BOOL result = ::ImpersonateLoggedOnUser(token.Get()); in ScopedImpersonation()
/dports/www/chromium-legacy/chromium-88.0.4324.182/sandbox/win/src/
H A Dapp_container_profile_base.cc69 BOOL result = ::ImpersonateLoggedOnUser(token.Get()); in ScopedImpersonation()
/dports/net/mpich2/mpich2-1.5/src/pm/smpd/
H A Dsmpd_start_mgr.c164 if (!ImpersonateLoggedOnUser(user_handle)) in smpd_start_win_mgr()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Principal.Windows/src/System/Security/Principal/
H A DWindowsIdentity.cs662 if (!token.IsInvalid && !Interop.Advapi32.ImpersonateLoggedOnUser(token)) in RunImpersonatedInternal()
682 if (!Interop.Advapi32.ImpersonateLoggedOnUser(args.CurrentValue)) in CurrentImpersonatedTokenChanged()
/dports/lang/mono/mono-5.10.1.57/mono/metadata/
H A Dmono-security.c371 return (ImpersonateLoggedOnUser (token) != 0); in ves_icall_System_Security_Principal_WindowsImpersonationContext_SetCurrentToken()
/dports/lang/zig-devel/zig-0.9.0/lib/libc/mingw/lib32/
H A Dadvapi32.def386 ImpersonateLoggedOnUser@4
/dports/lang/zig/zig-0.9.0/lib/libc/mingw/lib32/
H A Dadvapi32.def386 ImpersonateLoggedOnUser@4
/dports/lang/zig-devel/zig-0.9.0/lib/libc/mingw/lib-common/
H A Dadvapi32.def.in401 ImpersonateLoggedOnUser
/dports/lang/zig/zig-0.9.0/lib/libc/mingw/lib-common/
H A Dadvapi32.def.in401 ImpersonateLoggedOnUser

123456789