Searched refs:UserMgr (Results 1 – 5 of 5) sorted by relevance
256 bool UserMgr::isUserExist(const std::string& userName) const in isUserExist()271 bool UserMgr::isUserExistSystem(const std::string& userName) in isUserExistSystem()283 void UserMgr::throwForUserDoesNotExist(const std::string& userName) const in throwForUserDoesNotExist()292 void UserMgr::checkAndThrowForDisallowedGroupCreation( in checkAndThrowForDisallowedGroupCreation()306 void UserMgr::throwForUserExists(const std::string& userName) in throwForUserExists()315 void UserMgr::throwForUserNameConstraints( in throwForUserNameConstraints()350 void UserMgr::throwForMaxGrpUserCount( in throwForMaxGrpUserCount()378 void UserMgr::throwForInvalidPrivilege(const std::string& priv) in throwForInvalidPrivilege()389 void UserMgr::throwForInvalidGroups(const std::vector<std::string>& groupNames) in throwForInvalidGroups()403 std::vector<std::string> UserMgr::readAllGroupsOnSystem() in readAllGroupsOnSystem()[all …]
216 class UserMgr : public Ifaces class219 UserMgr() = delete;220 ~UserMgr() = default;221 UserMgr(const UserMgr&) = delete;222 UserMgr& operator=(const UserMgr&) = delete;223 UserMgr(UserMgr&&) = delete;224 UserMgr& operator=(UserMgr&&) = delete;231 UserMgr(sdbusplus::bus_t& bus, const char* path);
16 phosphor::user::UserMgr userMgr(bus, userManagerRoot); in main()
210 const auto expirationTime = UserMgr::getUnexpiringPasswordTime(); in testPasswordExpirationReset()378 EXPECT_EQ(user.passwordExpiration(UserMgr::getUnexpiringPasswordTime()), in TEST_F()379 UserMgr::getUnexpiringPasswordTime()); in TEST_F()381 EXPECT_EQ(user.passwordExpiration(UserMgr::getDefaultPasswordExpiration()), in TEST_F()382 UserMgr::getDefaultPasswordExpiration()); in TEST_F()394 UserMgr::getDefaultPasswordExpiration()); in TEST_F()400 UserMgr::getUnexpiringPasswordTime()); in TEST_F()433 UserMgr::getUnexpiringPasswordTime()); in TEST_F()587 class UserMgrInTest : public testing::Test, public UserMgr590 UserMgrInTest() : UserMgr(busInTest, objectRootInTest) in UserMgrInTest()[all …]
12 class MockManager : public UserMgr15 MockManager(sdbusplus::bus_t& bus, const char* path) : UserMgr(bus, path) {} in MockManager()