public function getGroupByGUID($guid, $baseDn = null, $scope = Zend\Ldap\Ldap::SEARCH_SCOPE_SUB, $attributes = [])
    {
        return $this->search(
            sprintf('(&(objectClass=group)(objectGUID=%s))', LDAPUtil::str_to_hex_guid($guid, true)),
            $baseDn,
            $scope,
            $attributes
        );
    }
public function getGroupByGUID($guid, $baseDn = null, $scope = Zend\Ldap\Ldap::SEARCH_SCOPE_SUB, $attributes = [])
    {
        return $this->search(
            sprintf('(&(objectClass=group)(objectGUID=%s))', LDAPUtil::str_to_hex_guid($guid, true)),
            $baseDn,
            $scope,
            $attributes
        );
    }
public function getGroupByGUID ( $ guid , $ baseDn = null , $ scope = Zend \ Ldap \ Ldap :: SEARCH_SCOPE_SUB , $ attributes = [ ] ) { return $ this -> search ( sprintf ( '(&(objectClass=group)(objectGUID=%s))' , LDAPUtil :: str_to_hex_guid ( $ guid , true ) ) , $ baseDn , $ scope , $ attributes ) ; }
Return a particular LDAP group by objectGUID value.

@param string $guid
@param null|string $baseDn The DN to search from. Default is the baseDn option in the connection if not given
@param int $scope The scope to perform the search. Zend_Ldap::SEARCH_SCOPE_ONE, Zend_LDAP::SEARCH_SCOPE_BASE. Default is Zend_Ldap::SEARCH_SCOPE_SUB
@param array $attributes Restrict to specific AD attributes. An empty array will return all attributes
@return array
Return a particular LDAP group by objectGUID value .