summaryrefslogtreecommitdiffstats
path: root/src/Server/UserManager.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-05-22 00:23:59 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-05-22 00:23:59 +0200
commit264cd7947d7291f78065f12824523ba6178a9936 (patch)
tree7261b9a33519cd783f614b147c44f484a1217618 /src/Server/UserManager.h
parente0e254548b6200d16bc3f4be3bd255b041a76532 (diff)
downloadmad-264cd7947d7291f78065f12824523ba6178a9936.tar
mad-264cd7947d7291f78065f12824523ba6178a9936.zip
GroupListRequest hinzugef?gt
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);