ListUserGroups - Amazon QuickSight

ListUserGroups

Use the ListUserGroups operation to list the Amazon QuickSight groups that an Amazon QuickSight user is a member of. To use this operation, you need the ID of the user whose group memberships you want to know. You can use the ListUsers operation to list all users and their corresponding user IDs.

Following is an example AWS CLI command for this operation.

AWS CLI
aws quicksight list-user-groups --user-name USERNAME --aws-account-id AWSACCOUNTID --namespace default --max-results 100

For more information about ListUserGroups operation, see ListUserGroupsin the Amazon QuickSight API Reference.