How can I fetch usernames and their corresponding userid?

Hi OppiaMobile-Team

The question is: How can I fetch usernames and their corresponding userid?

Thank you for your help and have a nice weekend
Sirofjelly

Hi @sirofjelly
Probably the easiest way is directly from the database, the auth_user has “id” and “username”. The userid is basically only an internal reference, so it’s not really displayed in the Oppia dashboard, only really as part of urls,
Cheers,
Alex