简体   繁体   中英

how to get users Amazon Cognito with android sdk

I am creating an android application in which I need to get cognito user list. amazon documentation refer to use the UserList api.But I am looking for a solution to do via android sdk.Is there any way to get user list using android sdk?

You could use the AWS Java SDK (using gradle ) instead of the AWS Android SDK (which has a limited support of the API).

In com.amazonaws.services.cognitoidp.AbstractAWSCognitoIdentityProvider you will find listUsers()

Note: Remember to only include the modules you need, so your Android app doesn't get too big in size for no reason.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM