summaryrefslogtreecommitdiffstats
path: root/src/Server/UserManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server/UserManager.h')
-rw-r--r--src/Server/UserManager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Server/UserManager.h b/src/Server/UserManager.h
index c3d990d..e33b678 100644
--- a/src/Server/UserManager.h
+++ b/src/Server/UserManager.h
@@ -21,6 +21,7 @@
#define MAD_SERVER_USERMANAGER_H_
#include <Common/UserInfo.h>
+#include <Common/GroupInfo.h>
#include <map>
#include <set>
@@ -57,6 +58,8 @@ class UserManager : boost::noncopyable {
boost::shared_ptr<std::map<unsigned long, Common::UserInfo> > getUserList();
boost::shared_ptr<Common::UserInfo> getUserInfo(unsigned long uid);
+ boost::shared_ptr<std::map<unsigned long, Common::GroupInfo> > getGroupList();
+
bool setPassword(unsigned long uid, const std::string &password);
bool addUser(const Common::UserInfo &userInfo);