Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11433

db.getUsers() should mention showAuthenticationRestrictions option

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • manual, Server
    • None
    • 0.5
    • true

    Description

      Closely related to DOCS-11283.

      SERVER-29182, included in MongoDB 3.6, added authenticationRestrictions info to the output of the usersInfo command (and by extension, the db.getUsers() helper) if the parameter "showAuthenticationRestrictions: 1" is included in the request.

      e.g.

      db.getUsers({showAuthenticationRestrictions: 1});
      db.runCommand({usersInfo:1, showAuthenticationRestrictions: 1});
      

      The current manual pages for these commands do not list this new argument.

      Attachments

        Issue Links

          Activity

            People

              brian.moss@mongodb.com Brian Moss
              kelsey.schubert@mongodb.com Kelsey T Schubert
              Caleb Thompson Caleb Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 26 weeks, 4 days ago