Home
last modified time | relevance | path

Searched refs:UserProperty (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp1692 props[UserProperty::GroupNames] = std::move(groups); in TEST_F()
1693 props[UserProperty::Privilege] = "priv-user"; in TEST_F()
1694 props[UserProperty::Enabled] = enabled; in TEST_F()
1695 props[UserProperty::PasswordExpiration] = info.passwordExpiration; in TEST_F()
1718 props[UserProperty::GroupNames] = std::move(groups); in TEST_F()
1719 props[UserProperty::Privilege] = "priv-user"; in TEST_F()
1720 props[UserProperty::Enabled] = enabled; in TEST_F()
1754 props[UserProperty::GroupNames] = std::move(groups); in TEST_F()
1755 props[UserProperty::Privilege] = "priv-user"; in TEST_F()
1756 props[UserProperty::Enabled] = enabled; in TEST_F()
[all …]
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp109 using UserProperty = typedef
110 sdbusplus::common::xyz::openbmc_project::user::Manager::UserProperty;
429 auto priv = std::get<std::string>(props[UserProperty::Privilege]); in createUserImpl()
430 auto enabled = std::get<bool>(props[UserProperty::Enabled]); in createUserImpl()
432 std::get<std::vector<std::string>>(props[UserProperty::GroupNames]); in createUserImpl()
435 if (props.contains(UserProperty::PasswordExpiration)) in createUserImpl()
437 std::get<uint64_t>(props[UserProperty::PasswordExpiration]); in createUserImpl()
500 props[UserProperty::GroupNames] = std::move(groupNames); in createUser()
501 props[UserProperty::Privilege] = std::move(priv); in createUser()
502 props[UserProperty::Enabled] = enabled; in createUser()
[all …]
H A Duser_mgr.hpp67 using UserProperty = typedef
68 sdbusplus::common::xyz::openbmc_project::user::Manager::UserProperty;
86 using UserCreateMap = std::map<UserProperty, UserInfo>;