User Management Methods用户管理方法
Note
For details on a specific method, including syntax and examples, click on the link to the method's 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() | mongosh user authentication/management methods.mongosh 用户身份验证/管理方法中直接指定密码。 |