code: def test_call_service_syftapi_no_permission(guest_domain_client):
      with pytest.raises(AttributeError):
          guest_domain_client.api.services.user.get_all()
  
file_path: PySyft/packages/syft/tests/syft/service_permission_test.py
imports: import pytest
  from syft import SyftError
  from syft.client.api import SyftAPICall
label_desc: Use image node_id 3 for calling a global function with example usage: test_call_service_syftapi_no_permission(guest_domain_client) without return types