protected function getUserObjectGuid()
    {
        $guid = $this->user->getConvertedGuid();

        if (trim($guid) == false) {
            $attribute = $this->user->getSchema()->objectGuid();

            throw new UnexpectedValueException(
                "Unable to locate a user without a {$attribute}"
            );
        }

        return $guid;
    }
protected function getUserObjectGuid()
    {
        $guid = $this->user->getConvertedGuid();

        if (trim($guid) == false) {
            $attribute = $this->user->getSchema()->objectGuid();

            throw new UnexpectedValueException(
                "Unable to locate a user without a {$attribute}"
            );
        }

        return $guid;
    }
protected function getUserObjectGuid ( ) { $ guid = $ this -> user -> getConvertedGuid ( ) ; if ( trim ( $ guid ) == false ) { $ attribute = $ this -> user -> getSchema ( ) -> objectGuid ( ) ; throw new UnexpectedValueException ( "Unable to locate a user without a {$attribute}" ) ; } return $ guid ; }
Returns the LDAP users object GUID.

@return string

@throws UnexpectedValueException
Returns the LDAP users object GUID .