Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Cognito- get user information with 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.

like image 974
Grzegorz Brzęczyszczykiewicz Avatar asked Nov 27 '25 07:11

Grzegorz Brzęczyszczykiewicz


1 Answers

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.

like image 115
Chetan Mehta Avatar answered Nov 29 '25 20:11

Chetan Mehta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!