db.removeUser()
On this page本页内容
Deprecated since version 2.6自2.6版起已弃用: Use :使用db.dropUser() instead of db.removeUser()db.dropUser()而不是db.removeUser()
Definition定义
db.removeUser(username)-
Removes the specified username from the database.从数据库中删除指定的用户名。Thedb.removeUser()method has the following parameter:db.removeUser()方法具有以下参数:Parameter参数Type类型Description描述usernamestring The database username.数据库用户名。