Searched refs:userGroups (Results 1 – 7 of 7) sorted by relevance
/openbmc/phosphor-user-manager/ |
H A D | users.cpp | 68 UsersIface::userGroups(groups, true); in Users() 93 manager.updateGroupsAndPriv(userName, UsersIface::userGroups(), value); in userPrivilege() 104 UsersIface::userGroups(groups); in setUserGroups() 119 std::vector<std::string> Users::userGroups(std::vector<std::string> value) in userGroups() function in phosphor::user::Users 121 if (value == UsersIface::userGroups()) in userGroups() 127 return UsersIface::userGroups(value); in userGroups() 133 std::vector<std::string> Users::userGroups(void) const in userGroups() function in phosphor::user::Users 135 return UsersIface::userGroups(); in userGroups()
|
H A D | users.hpp | 88 userGroups(std::vector<std::string> value) override; 93 std::vector<std::string> userGroups(void) const override;
|
H A D | user_mgr.cpp | 483 usersList[userName].get()->userGroups()); in renameUser() 496 std::vector<std::string> groupNames = user.get()->userGroups(); in renameUser() 522 usersList[userName].get()->userGroups(); in updateGroupsAndPriv() 1204 userInfo.emplace("UserGroups", user.get()->userGroups()); in getUserInfo() 1446 std::vector<std::string> userGroups; in initUserObjects() local 1461 userGroups.emplace_back(grp.first); in initUserObjects() 1469 std::sort(userGroups.begin(), userGroups.end()); in initUserObjects() 1471 bus, objPath.c_str(), userGroups, in initUserObjects()
|
/openbmc/bmcweb/include/ |
H A D | dbus_privileges.hpp | 31 std::optional<std::vector<std::string>> userGroups; in populateUserInfo() local 36 passwordExpired, "UserGroups", userGroups); in populateUserInfo() 44 if (!remoteUser && (!passwordExpired || !userGroups)) in populateUserInfo() 59 session.userGroups.clear(); in populateUserInfo() 60 if (userGroups) in populateUserInfo() 62 session.userGroups.swap(*userGroups); in populateUserInfo()
|
H A D | sessions.hpp | 50 std::vector<std::string> userGroups; member
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | account_service.hpp | 115 inline bool translateUserGroup(const std::vector<std::string>& userGroups, in translateUserGroup() argument 119 for (const auto& userGroup : userGroups) in translateUserGroup() 170 std::vector<std::string>& userGroups) in getUserGroupFromAccountType() argument 188 userGroups.emplace_back("ipmi"); in getUserGroupFromAccountType() 192 userGroups.emplace_back("hostconsole"); in getUserGroupFromAccountType() 196 userGroups.emplace_back("ssh"); in getUserGroupFromAccountType() 217 userGroups.emplace_back("redfish"); in getUserGroupFromAccountType() 1824 std::vector<std::string> userGroups; in processAfterGetAllGroups() local 1874 userGroups.emplace_back(grp); in processAfterGetAllGroups() 1880 accountTypeUserGroups.size() != userGroups.size()) in processAfterGetAllGroups() [all …]
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | privileges.hpp | 214 for (const auto& userGroup : session.userGroups) in getUserPrivileges()
|