Searched refs:userGroups (Results 1 – 7 of 7) sorted by relevance
| /openbmc/bmcweb/include/ |
| H A D | dbus_privileges.hpp | 37 std::optional<std::vector<std::string>> userGroups; in populateUserInfo() local 42 passwordExpired, "UserGroups", userGroups); in populateUserInfo() 50 if (!remoteUser && (!passwordExpired || !userGroups)) in populateUserInfo() 65 session.userGroups.clear(); in populateUserInfo() 66 if (userGroups) in populateUserInfo() 68 session.userGroups.swap(*userGroups); in populateUserInfo()
|
| H A D | sessions.hpp | 56 std::vector<std::string> userGroups; member
|
| /openbmc/phosphor-user-manager/ |
| H A D | users.cpp | 77 UsersIface::userGroups(groups, true); in Users() 105 manager.updateGroupsAndPriv(userName, UsersIface::userGroups(), value); in userPrivilege() 116 UsersIface::userGroups(groups); in setUserGroups() 131 std::vector<std::string> Users::userGroups(std::vector<std::string> value) in userGroups() function in phosphor::user::Users 133 if (value == UsersIface::userGroups()) in userGroups() 139 return UsersIface::userGroups(value); in userGroups() 145 std::vector<std::string> Users::userGroups(void) const in userGroups() function in phosphor::user::Users 147 return UsersIface::userGroups(); in userGroups()
|
| H A D | users.hpp | 97 std::vector<std::string> userGroups( 103 std::vector<std::string> userGroups(void) const override;
|
| H A D | user_mgr.cpp | 502 usersList[userName].get()->userGroups()); in renameUser() 515 std::vector<std::string> groupNames = user.get()->userGroups(); in renameUser() 541 usersList[userName].get()->userGroups(); in updateGroupsAndPriv() 1234 userInfo.emplace("UserGroups", user.get()->userGroups()); in getUserInfo() 1473 std::vector<std::string> userGroups; in initUserObjects() local 1488 userGroups.emplace_back(grp.first); in initUserObjects() 1496 std::sort(userGroups.begin(), userGroups.end()); in initUserObjects() 1498 bus, objPath.c_str(), userGroups, in initUserObjects()
|
| /openbmc/bmcweb/redfish-core/lib/ |
| H A D | account_service.hpp | 135 inline bool translateUserGroup(const std::vector<std::string>& userGroups, in translateUserGroup() argument 139 for (const auto& userGroup : userGroups) in translateUserGroup() 190 std::vector<std::string>& userGroups) in getUserGroupFromAccountType() argument 208 userGroups.emplace_back("ipmi"); in getUserGroupFromAccountType() 212 userGroups.emplace_back("hostconsole"); in getUserGroupFromAccountType() 216 userGroups.emplace_back("ssh"); in getUserGroupFromAccountType() 237 userGroups.emplace_back("redfish"); in getUserGroupFromAccountType() 1845 std::vector<std::string> userGroups; in processAfterGetAllGroups() local 1895 userGroups.emplace_back(grp); in processAfterGetAllGroups() 1901 accountTypeUserGroups.size() != userGroups.size()) in processAfterGetAllGroups() [all …]
|
| /openbmc/bmcweb/redfish-core/include/ |
| H A D | privileges.hpp | 213 for (const auto& userGroup : session.userGroups) in getUserPrivileges()
|