list_database_principals
List database principals from a Fabric warehouse or SQL endpoint, optionally filtered by user or role type.
Instructions
List database principals from sys.database_principals.
Args:
workspace: Workspace name or GUID.
item: Warehouse or SQL endpoint name or GUID.
principal_type: Filter by type -- "user" for users, "role" for
database roles, "all" or omit for no filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| workspace | Yes | ||
| principal_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |