Retrieving Roles and Permissions using TAM IAM Policy
Roles and permissions assigned to a user in IAM can be retrieved using TAM IAM Policy. The Policy package namespace is trimble.iam.authz. The policy description, its latest version and example on how to use it is given here.
Policy Description
TAM IAM Policy in turn uses rego built-ins to retrieve the roles and permissions of a user. References to these built-ins can be found below: