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

db.getUsers() should mention showAuthenticationRestrictions option

    • 0.5

      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.

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

              Created:
              Updated:
              Resolved:
              6 years, 4 weeks, 1 day ago