Lines Matching refs:value
87 std::string Users::userPrivilege(std::string value) in userPrivilege() argument
89 if (value == UsersIface::userPrivilege()) in userPrivilege()
91 return value; in userPrivilege()
93 manager.updateGroupsAndPriv(userName, UsersIface::userGroups(), value); in userPrivilege()
94 return UsersIface::userPrivilege(value); in userPrivilege()
97 void Users::setUserPrivilege(const std::string& value) in setUserPrivilege() argument
99 UsersIface::userPrivilege(value); in setUserPrivilege()
119 std::vector<std::string> Users::userGroups(std::vector<std::string> value) in userGroups() argument
121 if (value == UsersIface::userGroups()) in userGroups()
123 return value; in userGroups()
125 std::sort(value.begin(), value.end()); in userGroups()
126 manager.updateGroupsAndPriv(userName, value, UsersIface::userPrivilege()); in userGroups()
127 return UsersIface::userGroups(value); in userGroups()
146 void Users::setUserEnabled(bool value) in setUserEnabled() argument
148 UsersIface::userEnabled(value); in setUserEnabled()
155 bool Users::userEnabled(bool value) in userEnabled() argument
157 if (value == UsersIface::userEnabled()) in userEnabled()
159 return value; in userEnabled()
161 manager.userEnable(userName, value); in userEnabled()
162 return UsersIface::userEnabled(value); in userEnabled()
177 bool Users::userLockedForFailedAttempt(bool value) in userLockedForFailedAttempt() argument
179 if (value != false) in userLockedForFailedAttempt()
185 return manager.userLockedForFailedAttempt(userName, value); in userLockedForFailedAttempt()