Docs Menu

Docs HomeDevelop ApplicationsMongoDB Manual

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.

←  Create a UserList Users →