On this page本页内容
Deprecated since version 2.6:自2.6版以来已弃用:Use 请改用db.dropUser()
instead of db.removeUser()
db.dropUser()
而不是db.removeUser()
db.
removeUser
(username)¶Removes the specified username from the database.从数据库中删除指定的用户名。
The db.removeUser()
method has the following parameter:db.removeUser()
方法具有以下参数:
username |
string |