public function getRegistrations($username)
    {
        $params = [];
        $params['filter'] = $this->filter;
        $params['username'] = $username;
        $params['_return_fields+'] = 'fingerprint,extattrs';
        return $this->gateway->get('macfilteraddress', $params);
    }
public function getRegistrations($username)
    {
        $params = [];
        $params['filter'] = $this->filter;
        $params['username'] = $username;
        $params['_return_fields+'] = 'fingerprint,extattrs';
        return $this->gateway->get('macfilteraddress', $params);
    }
public function getRegistrations ( $ username ) { $ params = [ ] ; $ params [ 'filter' ] = $ this -> filter ; $ params [ 'username' ] = $ username ; $ params [ '_return_fields+' ] = 'fingerprint,extattrs' ; return $ this -> gateway -> get ( 'macfilteraddress' , $ params ) ; }
Returns MAC address filter registrations for a given user.

@param string $username
@throws \Exception
@return array|null
Returns MAC address filter registrations for a given user .