[DOCS-11433] db.getUsers() should mention showAuthenticationRestrictions option Created: 12/Mar/18  Updated: 30/Oct/23  Resolved: 04/Apr/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Kelsey Schubert Assignee: Brian Moss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-33803 db.getUsers() doesn't output authenti... Closed
Participants:
Days since reply: 5 years, 46 weeks ago
Story Points: 0.5

 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.



 Comments   
Comment by Githook User [ 28/Mar/18 ]

Author:

{'email': 'kallimachos@gmail.com', 'name': 'Brian Moss', 'username': 'kallimachos'}

Message: DOCS-11433 Add showAuthenticationRestrictions parameter
Branch: master
https://github.com/mongodb/docs/commit/328e64eae6424204c271c89e620ab509c57343d0

Generated at Thu Feb 08 08:02:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.