/** * Return all KolabInetOrgPersons with the given uid or mail address. * * @param string $id The uid or mail address to search for. * * @return array The GUID(s). * * @throws Horde_Kolab_Server_Exception */ public function searchGuidForUidOrMail($id) { $criteria = new Horde_Kolab_Server_Query_Element_Or(array(new Horde_Kolab_Server_Query_Element_Equals('Uid', $id), new Horde_Kolab_Server_Query_Element_Equals('Mail', $id))); return $this->_search->searchRestrictKolab($criteria); }
/** * Return the reference to the server structure. * * @return Horde_Kolab_Server_Structure_Interface */ public function getStructure() { return $this->_search->getStructure(); }