Docs Menu

Authenticate a User

To authenticate as a user, you must provide a username, password, and the authentication database associated with that user.

Important

Using mongosh, you can:

For examples using a MongoDB driver, see the driver documentation.

Give Feedback
© 2021 MongoDB, Inc.

About

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