Note
For details on specific methods, including syntax and examples, click on the specific method to go to its reference page.有关特定方法的详细信息,包括语法和示例,请单击特定方法以转到其参考页面。
db.auth() | 
|
db.changeUserPassword() | 
|
db.createUser() | 
|
db.dropUser() | 
|
db.dropAllUsers() | 
|
db.getUser() | 
|
db.getUsers() | 
|
db.grantRolesToUser() | 
|
db.removeUser() | 
|
db.revokeRolesFromUser() | 
|
db.updateUser() | 
|
passwordPrompt() | 
mongo shell user authentication/management methods.mongo shell用户身份验证/管理方法中直接指定密码。 |