public function getSearch($aData = [])
    {
        if (!userHasPermission('admin:auth:accounts:browse')) {
            $oHttpCodes = Factory::service('HttpCodes');
            throw new ApiException(
                'You are not authorised to search users',
                $oHttpCodes::STATUS_UNAUTHORIZED
            );
        }

        return parent::getSearch($aData);
    }