dropAllRoles( writeConcern )
Deletes all user-defined roles on the database where you run the method.
dropAllRolesmethod removes all user-defined roles from the database.
dropAllRolesmethod takes the following argument:
Field Type Description
document Optional. The level of write concern for the removal operation. The
writeConcerndocument takes the same fields as the
Returns: The number of user-defined roles dropped.