Proper way to access usersinfo using mongodb driver for .net/c# -
when write line of code (c# using mongodb driver):
var mongodb = ... var result = mongodb.finduser("ruprecht");
i warning should "use new user management command "usersinfo". can find no illustration of how this.
i'll utilize deprecated commands now, i'd know right way it.
you utilize mongodatabase's runcommand method , usersinfo command documented here: http://docs.mongodb.org/manual/reference/command/usersinfo/#dbcmd.usersinfo.
c# mongodb
No comments:
Post a Comment