Method RemoveUser
RemoveUser(MongoUser)
Removes a user from this database.
[Obsolete("Use RunCommand with a { dropUser: <username> } document.")]
public virtual void RemoveUser(MongoUser user)
Parameters
user
MongoUserThe user to remove.
RemoveUser(string)
Removes a user from this database.
[Obsolete("Use RunCommand with a { dropUser: <username> } document.")]
public virtual void RemoveUser(string username)
Parameters
username
stringThe username to remove.