python mongodb get all user id code example Example: mongodb list users use admin db.system.users.find()