list_database_users
List all database users in a specific SAP Datasphere space to audit access, check permissions, and avoid duplicate user creation.
Instructions
List all database users in a specific SAP Datasphere space.
Use this tool when:
User asks "What database users exist in SALES space?"
Auditing user access and permissions
Checking who has database access to a space
Before creating a new database user (avoid duplicates)
What you'll get:
Database user IDs and full names
User status (ACTIVE, INACTIVE)
Access permissions and privileges
Last login information
Audit policy settings
Required parameter:
space_id: The space ID (uppercase, e.g., 'SALES', 'FINANCE')
Example queries:
"List all database users in SALES space"
"Show me who has database access to FINANCE"
"What database users are configured?"
Database user access types:
Consumption: Read data with/without grant privileges
Ingestion: Write/load data into space
Schema access: Local and space schema access
Script server: Execute advanced analytics
Note: This corresponds to the CLI command: datasphere dbusers list --space
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_id | Yes | The space ID in UPPERCASE format (e.g., 'SALES', 'FINANCE', 'HR'). Must match exactly. | |
| output_file | No | Optional: Path to save output as JSON file (e.g., 'users.json'). If not provided, results display in response. |