Docs HomeMongoDB Manual

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描述
authenticateStarts an authenticated session using a username and password.使用用户名和密码启动经过身份验证的会话。
logoutDeprecated. 已弃用Terminates the current authenticated session.终止当前经过身份验证的会话。