Skip to main content
This parameter is not required to create valid embed requests, but Omni recommends setting it.
An object of connection roles available for embed users, used to specify the level of access users will have to all models associated with the connection. To specify permissions for individual models, use the modelRoles parameter.

Syntax

connectionRoles=<encoded_object>

Properties

connectionRoles
object
An object containing connection ID and role pairs, formatted as "<connection_id>": "<connection_role>".connection_role values must be one of:
  • RESTRICTED_QUERIER - Can create new content and view workbooks and dashboards
  • VIEWER - Can only view dashboards
Base access roles are not respected. Connection roles should be specified using this parameter or by setting group permissions on the connection in Omni and then assigning embed users to those groups.

Examples

The following example demonstrates what the URL encoded version of connectionRoles={"65b10d2a-473b-4486-92c8-0ba628c7d1cb":"RESTRICTED_QUERIER"} would be:
Example connectionRoles
connectionRoles=%7B%2265b10d2a-473b-4486-92c8-0ba628c7d1cb%22%3A%22RESTRICTED_QUERIER%22%7D