* Remove a user from a database * * @param username - The username to remove * @param options - Optional settings for the command
(username: string, options?: RemoveUserOptions)
| 466 | * @param options - Optional settings for the command |
| 467 | */ |
| 468 | async removeUser(username: string, options?: RemoveUserOptions): Promise<boolean> { |
| 469 | return await executeOperation( |
| 470 | this.client, |
| 471 | new RemoveUserOperation(this, username, resolveOptions(this, options)) |
| 472 | ); |
| 473 | } |
| 474 | |
| 475 | /** |
| 476 | * Set the current profiling level of MongoDB |