/*
- suPHP - (c)2002-2005 Sebastian Marsching <sebastian@marsching.com>
+ suPHP - (c)2002-2008 Sebastian Marsching <sebastian@marsching.com>
This file is part of suPHP.
return api.UserInfo_getGroupInfo(*this);
}
+std::string suPHP::UserInfo::getHomeDirectory() const
+ throw (LookupException) {
+ API& api = API_Helper::getSystemAPI();
+ return api.UserInfo_getHomeDirectory(*this);
+}
+
bool suPHP::UserInfo::isSuperUser() {
return API_Helper::getSystemAPI().UserInfo_isSuperUser(*this);
}
bool suPHP::UserInfo::operator==(const UserInfo& uinfo) const {
if (this->getUid() == uinfo.getUid())
- return true;
+ return true;
else
- return false;
+ return false;
}
bool suPHP::UserInfo::operator!=(const UserInfo& uinfo) const {