Proper way to access usersinfo using mongodb driver for .net/c# -


When I write this line of code (using the C # mangodb driver):

  var mongoDB = ... var results = Mongo DBFundUser ("Context");  

I get a warning that I should use the "user management command" userinfo "but I can not find an example of doing this.

Use the exclusion orders for now, but I want to know the correct way to do this.

You use MongoDatabase's RunCommand method and document user documentation commands here.


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -