code: def get_activities_by_search(self, activity_query, activitiesearch):
          
          # Implemented from azosid template for -
          # osid.resource.ResourceSearchSession.get_resources_by_search_template
          if not self._can('search'):
              raise PermissionDenied()
          return self._provider_session.get_activities_by_search(activity_query, activitiesearch)
docs: Pass through to provider ActivitySearchSession.get_activities_by_search