how to delete user based on a criteria in mongodb code example Example: mongodb delete user use admin db.dropUser('<username>')