mongodb check user permissions code example Example: mongodb list users use admin db.system.users.find()