Home
last modified time | relevance | path

Searched refs:user_sid (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/cloud_print/service/win/
Dlocal_security_policy.cc83 ATL::CSid user_sid; in IsPrivilegeSet() local
84 if (!user_sid.LoadAccount(username.c_str())) { in IsPrivilegeSet()
91 policy_, const_cast<SID*>(user_sid.GetPSID()), rights.Receive(), &count); in IsPrivilegeSet()
104 ATL::CSid user_sid; in SetPrivilege() local
105 if (!user_sid.LoadAccount(username.c_str())) { in SetPrivilege()
117 ::LsaAddAccountRights(policy_, const_cast<SID*>(user_sid.GetPSID()), in SetPrivilege()
Dsetup_listener.cc100 ATL::CSid user_sid; in Connect() local
101 if (!user_sid.LoadAccount(ReplaceLocalHostInName(user).c_str())) { in Connect()
104 dacl.AddAllowedAce(user_sid, GENERIC_READ | GENERIC_WRITE); in Connect()
/external/chromium_org/chrome_elf/
Dbreakpad.cc71 base::string16 user_sid; in GetUserSidString() local
73 return user_sid; in GetUserSidString()
83 user_sid = sid_string; in GetUserSidString()
88 return user_sid; in GetUserSidString()
162 base::string16 user_sid = IsSystemInstall(exe_path) ? kSystemPrincipalSid : in InitializeCrashReporting() local
164 if (user_sid.empty()) in InitializeCrashReporting()
168 pipe_name += user_sid; in InitializeCrashReporting()
/external/chromium_org/base/win/
Dwin_util_unittest.cc44 std::wstring user_sid; in TEST() local
45 EXPECT_TRUE(GetUserSidString(&user_sid)); in TEST()
46 EXPECT_TRUE(!user_sid.empty()); in TEST()
Dwin_util.h42 BASE_EXPORT bool GetUserSidString(std::wstring* user_sid);
Dwin_util.cc79 bool GetUserSidString(std::wstring* user_sid) { in GetUserSidString() argument
101 *user_sid = sid_string; in GetUserSidString()
/external/chromium_org/win8/delegate_execute/
Dcrash_server_init.cc78 base::string16 user_sid; in InitializeCrashReporting() local
79 if (base::win::GetUserSidString(&user_sid)) { in InitializeCrashReporting()
80 pipe_name += user_sid; in InitializeCrashReporting()
/external/chromium_org/remoting/host/
Dipc_util_win.cc32 std::wstring user_sid; in CreateConnectedIpcChannel() local
33 if (!base::win::GetUserSidString(&user_sid)) { in CreateConnectedIpcChannel()
43 "O:%1$sG:%1$sD:(A;;GA;;;%1$s)", base::WideToUTF8(user_sid).c_str()); in CreateConnectedIpcChannel()
/external/chromium_org/rlz/win/lib/
Dprocess_info.cc66 PSID user_sid = token_user->User.Sid; in GetCurrentUser() local
67 CHECK(::LookupAccountSidW(NULL, user_sid, user_name, &user_name_size, in GetCurrentUser()
78 ConvertSidToStringSidW(user_sid, &string_sid); in GetCurrentUser()
/external/chromium_org/chrome/test/mini_installer/
Dvariable_expander.py49 user_sid, _ = win32security.GetTokenInformation(token_handle,
51 user_sid_string = win32security.ConvertSidToStringSid(user_sid)
/external/chromium_org/components/crash/app/
Dbreakpad_win.cc468 std::wstring user_sid; in InitPipeNameEnvVar() local
470 if (!base::win::GetUserSidString(&user_sid)) { in InitPipeNameEnvVar()
474 user_sid = kSystemPrincipalSid; in InitPipeNameEnvVar()
478 pipe_name += user_sid; in InitPipeNameEnvVar()
/external/chromium_org/sandbox/win/src/
Drestricted_token_unittest.cc284 ATL::CSid user_sid; in TEST() local
285 ASSERT_TRUE(restricted_token.GetUser(&user_sid)); in TEST()
288 if (user_sid == sids[i]) { in TEST()
322 ATL::CSid user_sid; in TEST() local
323 ASSERT_TRUE(restricted_token.GetUser(&user_sid)); in TEST()
326 if (user_sid == sids[i]) { in TEST()
/external/chromium_org/remoting/host/setup/
Dme2me_native_messaging_host.cc552 std::wstring user_sid; in EnsureElevatedHostCreated() local
553 if (!base::win::GetUserSidString(&user_sid)) { in EnsureElevatedHostCreated()
562 "O:%1$sG:%1$sD:(A;;GA;;;%1$s)", base::UTF16ToASCII(user_sid).c_str()); in EnsureElevatedHostCreated()
/external/chromium_org/chrome/installer/gcapi/
Dgcapi.cc323 bool GetUserIdForProcess(size_t pid, wchar_t** user_sid) { in GetUserIdForProcess() argument
341 if (::ConvertSidToStringSid(sid, user_sid)) in GetUserIdForProcess()
/external/chromium_org/chrome/installer/setup/
Dsetup_main.cc1303 base::string16 user_sid = kSystemPrincipalSid; in InitializeCrashReporting() local
1306 if (!base::win::GetUserSidString(&user_sid)) { in InitializeCrashReporting()
1312 pipe_name += user_sid; in InitializeCrashReporting()
/external/chromium_org/chrome/installer/util/
Dshell_util.cc149 base::string16 user_sid; in UserSpecificRegistrySuffix() local
150 if (!base::win::GetUserSidString(&user_sid)) { in UserSpecificRegistrySuffix()
156 std::string user_sid_ascii(base::UTF16ToASCII(user_sid)); in UserSpecificRegistrySuffix()