diff options
Diffstat (limited to 'src/Server/UserManager.cpp')
-rw-r--r-- | src/Server/UserManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Server/UserManager.cpp b/src/Server/UserManager.cpp index e38f458..5f30a6b 100644 --- a/src/Server/UserManager.cpp +++ b/src/Server/UserManager.cpp @@ -82,12 +82,12 @@ boost::shared_ptr<Common::UserInfo> UserManager::getUserInfoByName(const std::st throw e; } -boost::shared_ptr<std::set<unsigned long> > UserManager::getUserGroups(unsigned long uid) throw(Net::Exception) { +boost::shared_ptr<std::set<unsigned long> > UserManager::getUserGroupList(unsigned long uid) throw(Net::Exception) { Net::Exception e(Net::Exception::NOT_IMPLEMENTED); for(std::set<boost::shared_ptr<UserBackend> >::iterator backend = backends.begin(); backend != backends.end(); ++backend) { try { - return (*backend)->getUserGroups(uid); + return (*backend)->getUserGroupList(uid); } catch(Net::Exception e2) { if(e.getErrorCode() == Net::Exception::NOT_IMPLEMENTED && e2.getErrorCode() != Net::Exception::NOT_IMPLEMENTED) @@ -146,12 +146,12 @@ unsigned long UserManager::getGroupId(const std::string &name) throw(Net::Except throw e; } -boost::shared_ptr<std::set<unsigned long> > UserManager::getGroupUsers(unsigned long gid) throw(Net::Exception) { +boost::shared_ptr<std::set<unsigned long> > UserManager::getGroupUserList(unsigned long gid) throw(Net::Exception) { Net::Exception e(Net::Exception::NOT_IMPLEMENTED); for(std::set<boost::shared_ptr<UserBackend> >::iterator backend = backends.begin(); backend != backends.end(); ++backend) { try { - return (*backend)->getGroupUsers(gid); + return (*backend)->getGroupUserList(gid); } catch(Net::Exception e2) { if(e.getErrorCode() == Net::Exception::NOT_IMPLEMENTED && e2.getErrorCode() != Net::Exception::NOT_IMPLEMENTED) |