AWS Cognito-获取具有ID的用户信息 [英] AWS Cognito- get user information with ID

查看:239
本文介绍了AWS Cognito-获取具有ID的用户信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以获取有关未登录的AWS Cognito池(在android上)的用户的信息,该用户知道其ID?我尝试了以下代码:

Is there any way to get information about the user in AWS Cognito pool (on android) who is not logged in, knowing his ID? I tried that code:

 AppHelper.getPool().getUser(username).getDetailsInBackground(detailsHandler);

但是它仅适用于当前登录的用户名。

However it works only for username who is currently logged in.

推荐答案

不,没有。

您可以通过调用 AdminGetUser ,但不是来自Android客户端。

You get get user information given the user name by calling AdminGetUser from you backend with your developer credentials but not from an Android client.

这篇关于AWS Cognito-获取具有ID的用户信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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