On this page本页内容
dropAllUsersFromDatabase¶Removes all users from the database on which you run the command.
Warning
The dropAllUsersFromDatabase removes all users from the database.
The dropAllUsersFromDatabase command has the following syntax:语法如下所示:
The dropAllUsersFromDatabase document has the following fields:
dropAllUsersFromDatabase |
integer | Specify 1 to drop all the users from the current database. |
writeConcern |
document | writeConcern document takes the same fields as the getLastError command. |
comment |
any |
A comment can be any valid BSON type (string, integer, object, array, etc).
|