Home
last modified time | relevance | path

Searched full:usergroups (Results 1 – 13 of 13) sorted by relevance

/openbmc/bmcweb/include/
H A Ddbus_privileges.hpp37 std::optional<std::vector<std::string>> userGroups; in populateUserInfo() local
42 passwordExpired, "UserGroups", userGroups); in populateUserInfo()
50 if (!remoteUser && (!passwordExpired || !userGroups)) in populateUserInfo()
53 "Missing UserPasswordExpired or UserGroups property for local user"); in populateUserInfo()
65 session.userGroups.clear(); in populateUserInfo()
66 if (userGroups) in populateUserInfo()
68 session.userGroups.swap(*userGroups); in populateUserInfo()
H A Dsessions.hpp56 std::vector<std::string> userGroups; member
/openbmc/phosphor-user-manager/
H A Dusers.cpp77 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 Dusers.hpp97 std::vector<std::string> userGroups(
103 std::vector<std::string> userGroups(void) const override;
H A Duser_mgr.cpp502 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()
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()
1472 std::vector<std::string> userGroups; initUserObjects() local
[all...]
/openbmc/bmcweb/redfish-core/lib/
H A Daccount_service.hpp129 * @param[in] userGroups List of User groups
132 * @return true in case of success, false if UserGroups contains
135 inline bool translateUserGroup(const std::vector<std::string>& userGroups, in translateUserGroup() argument
139 for (const auto& userGroup : userGroups) in translateUserGroup()
162 // 'web' is one of the valid groups in the UserGroups property of in translateUserGroup()
184 * @param[out] userGroups List of User Groups mapped from Account Types
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()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/User/
H A DManager.interface.yaml83 UserGroups -> list of groups user belongs to(array[string])
94 2.UserInfo["UserGroups"] gets list of groups of user.
H A DAttributes.interface.yaml7 - name: UserGroups
H A DREADME.md52 - UserGroups - Groups to which the user belongs.
/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp130 std::get<std::vector<std::string>>(userInfo["UserGroups"])); in TEST_F()
722 EXPECT_THAT(std::get<GroupList>(userInfo["UserGroups"]), in TEST_F()
747 EXPECT_THAT(std::get<GroupList>(userInfo["UserGroups"]), in TEST_F()
773 EXPECT_THAT(std::get<GroupList>(userInfo["UserGroups"]), in TEST_F()
/openbmc/bmcweb/redfish-core/include/
H A Dprivileges.hpp213 for (const auto& userGroup : session.userGroups) in getUserPrivileges()
/openbmc/phosphor-host-ipmid/user_channel/
H A Duser_mgmt.hpp79 static constexpr const char* userGrpProperty = "UserGroups";
/openbmc/docs/architecture/
H A Duser-management.md138 | | P: UserGroups, UserPrivilege, UserEnabled, | |