list-groups-for-user — AWS CLI 2.37.9 Command Reference
Use the AWS CLI 2.37.9 to run the iam list-groups-for-user command.