You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
The Distinct method is a method on a MongoCollection that returns an IEnumerable over the distinct values. It can't be applied to a MongoCursor, such as is returned from MongoCollection.Find, and it doesn't return a MongoCursor. You can't use it like you're trying to in that code snippet.