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 quicksight list-user-groups --user-name
USERNAME
--aws-account-idAWSACCOUNTID
--namespacedefault
--max-results100
For more information about ListUserGroups
operation, see ListUserGroupsin the Amazon QuickSight API Reference.