How do I access the group for a Cognito User account?

后端 未结 7 778
情话喂你
情话喂你 2020-12-14 00:54

In AWS Cognito, you can add a user to a group (after first creating a group). A user may belong to one or more groups.

With using the JavaScript SDK (https://github

相关标签:
7条回答
  • 2020-12-14 01:51

    This API does exist - AdminListGroupsForUser. The reason you're not seeing it is, as the name implies, that the API is currently only available on an admin basis. Cognito doesn't include admin APIs in the mobile SDKs. It would be included in the AWS SDKs/server side SDKs, but it's worth noting that this API does require developer credentials, as do all admin APIs.

    0 讨论(0)
提交回复
热议问题