How can a cognito user be assigned to a group in iOS app

↘锁芯ラ 提交于 2020-01-05 05:32:26

问题


I have created a cognito user group in AWS console. I am able to create a cognito user from my iOS app and I can see the user record from the AWS console. Now I need to add this user to a group. Is it possible to do this from the app without using AWS console. i.e When a new user is created the user should be added to a group. This should be handled in the iOS app.


回答1:


You can create and manage groups in a user pool from the AWS Management Console, the APIs, and the CLI. As a developer (using AWS credentials), you can create, read, update, delete, and list the groups for a user pool. You can also add users and remove users from groups.

Note: adding users to groups, etc. requires access keys with permissions to Cognito. This is not something that you would provide a new signup.



来源:https://stackoverflow.com/questions/46840553/how-can-a-cognito-user-be-assigned-to-a-group-in-ios-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!