如何将Cognito用户分配给iOS应用中的组 [英] How can a cognito user be assigned to a group in iOS app

查看:71
本文介绍了如何将Cognito用户分配给iOS应用中的组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在AWS控制台中创建了一个认知用户组。我可以通过我的iOS应用创建一个认知用户,并且可以从AWS控制台中查看用户记录。现在,我需要将此用户添加到组中。是否可以在不使用AWS控制台的情况下通过应用程序执行此操作。即,当创建新用户时,应将该用户添加到组中。

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.

推荐答案

您可以从AWS管理控制台在用户池中创建和管理组, API和CLI。作为开发人员(使用AWS凭证),您可以创建,读取,更新,删除和列出用户池的组。您还可以添加用户并将用户从组中删除。

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.

注意:将用户添加到组等中需要具有Cognito权限的访问密钥。这不是您要提供新注册的内容。

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

这篇关于如何将Cognito用户分配给iOS应用中的组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆