问题
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.
回答1:
No, there is not.
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.
来源:https://stackoverflow.com/questions/37944001/aws-cognito-get-user-information-with-id