OPTIONS

db.removeUser()

On this page

Deprecated since version 2.6: Use db.dropUser() instead of db.removeUser()

Definition

db.removeUser(username)

Removes the specified username from the database.

The db.removeUser() method has the following parameter:

Parameter Type Description
username string The database username.

Was this page helpful?

Yes No

Thank you for your feedback!

We're sorry! You can Report a Problem to help us improve this page.