Table of Contents

Operator operator ==

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

operator ==(MongoUser, MongoUser)

Determines whether two specified MongoUser objects have the same value.

public static bool operator ==(MongoUser lhs, MongoUser rhs)

Parameters

lhs MongoUser

The first value to compare, or null.

rhs MongoUser

The second value to compare, or null.

Returns

bool

True if the value of lhs is the same as the value of rhs; otherwise, false.