get_all_users
Retrieve all user accounts from the Alteryx server to manage access permissions and user administration.
Instructions
Get the list of all users of the Alteryx server
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.py:355-361 (handler)Core handler function that retrieves all users from the Alteryx server API using users_api.users_get_users() and formats the response.
def get_all_users(self): """Get the list of all users of the Alteryx server""" try: api_response = self.users_api.users_get_users() return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}" - src/mcp_server.py:231-234 (registration)MCP tool registration decorator and wrapper function that delegates execution to self.tools.get_all_users().
@self.app.tool() def get_all_users(): """Get the list of all users of the Alteryx server""" return self.tools.get_all_users()