Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-402

Better support for authorization in server commands (like GetDatabaseNames)

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.4
    • Affects Version/s: 1.3.1
    • Component/s: None
    • None

      The following properties and methods of MongoServer only work if the DefaultCredentials are valid for the admin database. There should probably be a better way to provide admin credentials without making them the default credentials.

      The properties and methods affected are:

      AdminDatabase
      DatabaseExists
      DropDatabase
      FetchDBRef
      GetAdminDatabase
      GetDatabaseNames
      GetLastError
      RunAdminCommand
      Shutdown

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: