/** * @param string $domain * @return bool */ function SetLdapDomain($domain) { $this->_connector->Execute($this->_commandCreator->ClearLdapDomain()); return $this->_connector->Execute($this->_commandCreator->SetLdapDomain($domain)); }