Roles tools

Use roles tools to create, retrieve, update, and delete roles for role-based access control in Cognos Analytics.

create-role

Creates a new role in Cognos Analytics as a child of the specified parent namespace or role. Returns the ID of the newly created role.

Sample prompt:

"Create a new role called 'Report Viewer' in namespace Cognos."

Your AI assistant creates the role and returns its ID.

delete-role

Deletes an existing role from Cognos Analytics.

Sample prompt:

"Remove the Report Viewer role."

Your AI assistant removes the specified role and confirms the deletion.

get-role

Retrieves detailed information about a specific role, including its name, ID, type, permissions, and status.

Sample prompt:

"Show me details about the Report Viewer role."

Your AI assistant retrieves and displays the role details.

list-all-roles

Lists all roles in Cognos Analytics with their metadata and properties.

Sample prompt:

"Show me all roles in Cognos Analytics."

Your AI assistant retrieves and displays all roles with their details.

update-role

Updates role properties such as name and description in Cognos Analytics.

Sample prompt:

"Rename role Report Viewer to 'Content Viewer'."

Your AI assistant modifies the specified role properties and confirms the changes.