Table of Contents

Method FindUser

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

FindUser(string)

Finds a user of this database.

[Obsolete("Use the new user management command 'usersInfo'.")]
public virtual MongoUser FindUser(string username)

Parameters

username string

The username.

Returns

MongoUser

The user.