Skip to content
Browse files

SERVER-12073 Fix "show users" shell helper to use the usersInfo command

  • Loading branch information...
1 parent 740526f commit 93f27e7d3bc6db0b0ba6b92cfe9cf69d54a82d0e @stbrody stbrody committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mongo/shell/utils.js
View
2 src/mongo/shell/utils.js
@@ -877,7 +877,7 @@ shellHelper.show = function (what) {
}
if (what == "users") {
- db.system.users.find().forEach(printjson);
+ db.getUsers().forEach(printjson);
return "";
}

0 comments on commit 93f27e7

Please sign in to comment.
Something went wrong with that request. Please try again.