src/Classes/AdldapSearch.php
public function getDn()
    {
        if ($this->dn === null) {
            return $this->dn;
        } elseif (empty($this->dn)) {
            return $this->adldap->getBaseDn();
        }

        return $this->dn;
    }
public function getDn()
    {
        if ($this->dn === null) {
            return $this->dn;
        } elseif (empty($this->dn)) {
            return $this->adldap->getBaseDn();
        }

        return $this->dn;
    }
public function getDn ( ) { if ( $ this -> dn === null ) { return $ this -> dn ; } elseif ( empty ( $ this -> dn ) ) { return $ this -> adldap -> getBaseDn ( ) ; } return $ this -> dn ; }
Returns the current distinguished name.

This will return the domains base DN if a search
DN is not set.

@return string
Returns the current distinguished name .