Docs Menu

db.removeUser()

On this page

  • 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.

On this page

Give Feedback
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.