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 |