@ Deprecated public WriteResult removeUser ( final String userName ) { try { executor . execute ( new com . mongodb . operation . DropUserOperation ( getName ( ) , userName , getWriteConcern ( ) ) , getReadConcern ( ) ) ; return new WriteResult ( 1 , true , null ) ; } catch ( MongoWriteConcernException e ) { throw createWriteConcernException ( e ) ; } }
Removes the specified user from the database .