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.hpp87 std::vector<std::string> userGroups(
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.hpp38 std::optional<std::vector<std::string>> userGroups; in populateUserInfo()
43 passwordExpired, "UserGroups", userGroups); in populateUserInfo()
51 if (!remoteUser && (!passwordExpired || !userGroups)) in populateUserInfo()
66 session.userGroups.clear(); in populateUserInfo()
67 if (userGroups) in populateUserInfo()
69 session.userGroups.swap(*userGroups); in populateUserInfo()
37 std::optional<std::vector<std::string>> userGroups; populateUserInfo() local
H A Dsessions.hpp56 std::vector<std::string> userGroups; member
/openbmc/bmcweb/redfish-core/lib/
H A Daccount_service.hpp138 inline bool translateUserGroup(const std::vector<std::string>& userGroups, in translateUserGroup() argument
142 for (const auto& userGroup : userGroups) in translateUserGroup()
193 std::vector<std::string>& userGroups) in getUserGroupFromAccountType() argument
211 userGroups.emplace_back("ipmi"); in getUserGroupFromAccountType()
215 userGroups.emplace_back("hostconsole"); in getUserGroupFromAccountType()
219 userGroups.emplace_back("ssh"); in getUserGroupFromAccountType()
240 userGroups.emplace_back("redfish"); in getUserGroupFromAccountType()
1847 std::vector<std::string> userGroups; in processAfterGetAllGroups() local
1897 userGroups.emplace_back(grp); in processAfterGetAllGroups()
1903 accountTypeUserGroups.size() != userGroups.size()) in processAfterGetAllGroups()
[all …]
/openbmc/bmcweb/redfish-core/include/
H A Dprivileges.hpp213 for (const auto& userGroup : session.userGroups) in getUserPrivileges()