Searched refs:impersonation_token (Results 1 – 5 of 5) sorted by relevance
164 HANDLE impersonation_token; in GetRestrictedTokenHandleForImpersonation() local167 &impersonation_token)) { in GetRestrictedTokenHandleForImpersonation()175 impersonation_token, in GetRestrictedTokenHandleForImpersonation()182 ::CloseHandle(impersonation_token); in GetRestrictedTokenHandleForImpersonation()
122 HANDLE impersonation_token; in TEST() local124 token.GetRestrictedTokenHandleForImpersonation(&impersonation_token)); in TEST()126 ASSERT_TRUE(::IsTokenRestricted(impersonation_token)); in TEST()128 ASSERT_TRUE(::GetTokenInformation(impersonation_token, in TEST()136 ::CloseHandle(impersonation_token); in TEST()
182 base::win::ScopedHandle impersonation_token(impersonation_token_handle); in StartRestrictedProcessInJob() local214 if (!::SetThreadToken(&temp_thread, impersonation_token.Get())) { in StartRestrictedProcessInJob()
353 base::win::ScopedHandle impersonation_token(impersonation_token_handle); in Impersonate() local364 ok = ::SetTokenInformation(impersonation_token, TokenIntegrityLevel, in Impersonate()373 ok = ::ImpersonateLoggedOnUser(impersonation_token); in Impersonate()
184 [propput] HRESULT altTokens([in] ULONG_PTR impersonation_token,