Package main demonstrates Analytics BI service usage for retrieving user roles and permissions.
This example shows how to:
Usage:
export SSO_USERNAME="your-username" export SSO_PASSWORD="your-password" go run examples/analytics/roles/main.go -cid=32842
Flags:
-cid string Customer ID for CDN service (default "32842") -dashboard string Dashboard ID for guest token (default "a6e45df3-bb89-4020-8699-9914db98962a")
Both CDN and Analytics services automatically use their default endpoints (conversant.CDNEndpoint and conversant.AnalyticsEndpoint) unless custom endpoints are provided as optional parameters.