From 033145b65c543d1d6c0c05ee84c1031fcd5ba3c7 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 26 May 2009 16:13:27 +0200 Subject: UserBackend-Interface erweitert und im Mysql-Backend implementiert --- src/Server/UserManager.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Server/UserManager.h') diff --git a/src/Server/UserManager.h b/src/Server/UserManager.h index 3377727..fe0ef3f 100644 --- a/src/Server/UserManager.h +++ b/src/Server/UserManager.h @@ -59,8 +59,13 @@ class UserManager : boost::noncopyable { boost::shared_ptr > getUserList() throw(Net::Exception); boost::shared_ptr getUserInfo(unsigned long uid) throw(Net::Exception); + boost::shared_ptr getUserInfoByName(const std::string &name) throw(Net::Exception); + boost::shared_ptr > getUserGroups(unsigned long uid) throw(Net::Exception); boost::shared_ptr > getGroupList() throw(Net::Exception); + std::string getGroupName(unsigned long gid) throw(Net::Exception); + unsigned long getGroupId(const std::string &name) throw(Net::Exception); + boost::shared_ptr > getGroupUsers(unsigned long gid) throw(Net::Exception); void setPassword(unsigned long uid, const std::string &password) throw(Net::Exception); -- cgit v1.2.3