bw_get_roles
Load the BW query role hierarchy to discover roles and folders needed for assigning query roles. Optionally filter roles by name prefix.
Instructions
Load the complete BW query role hierarchy as shown in the "Publish to Role" dialog. Returns all roles (ROLE nodes) and their folder structure (FOLDER nodes) with nodeids. Use this to discover role names and folder names needed for bw_set_query_roles. Optionally filter to roles whose name starts with a given prefix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_filter | No | Optional prefix to filter results. Only ROLE nodes whose name starts with this prefix are included (e.g. "BW:"). |