Home
last modified time | relevance | path

Searched refs:userGroups (Results 1 – 7 of 7) sorted by relevance

/openbmc/phosphor-user-manager/
H A Dusers.cpp68 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 Dusers.hpp88 userGroups(std::vector<std::string> value) override;
93 std::vector<std::string> userGroups(void) const override;
H A Duser_mgr.cpp483 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 Ddbus_privileges.hpp31 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 Dsessions.hpp50 std::vector<std::string> userGroups; member
/openbmc/bmcweb/redfish-core/lib/
H A Daccount_service.hpp115 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 Dprivileges.hpp214 for (const auto& userGroup : session.userGroups) in getUserPrivileges()