Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /
Database Commands

Authentication Commands

Note

For details on a specific command, including syntax and examples, click on the link to the command's reference page.

Name
Description

authenticate

Starts an authenticated session using a username and password.

This is an internal command to generate a one-time password for authentication.

Terminates the current authenticated session.

Back

planCacheSetFilter