CmdID

CmdID / aws / aws cognito-idp

aws cognito-idp admin-list-groups-for-user

Lists the groups that a user belongs to. AWS CLI reference

4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

4 in the AWS CLI reference
--limitThe maximum number of groups that you want Amazon Cognito to return in the response.
--next-tokenThis API operation returns a limited number of results.
--user-pool-idThe ID of the user pool where you want to view a user's groups.
--usernameThe name of the user that you want to query or modify.