mongodb show user info
db. getUsers (<options>)¶. Returns information for all the users in the database. ... Set the field to true to display the user's password hash. By default, this field is ... ,Updates the user's profile on the database on which you run the method. ... Specifies a list of IP addresses and CIDR ranges from which the user is allowed to ...
相關軟體 MongoDB 資訊 | |
---|---|
![]() mongodb show user info 相關參考資料
db.getUser() — MongoDB Manual
Set the field to true to show the user's full set of privileges, including expanded information for the inherited roles. By default, this field is false . If viewing all users, ... https://docs.mongodb.com db.getUsers() — MongoDB Manual
db. getUsers (<options>)¶. Returns information for all the users in the database. ... Set the field to true to display the user's password hash. By default, this field is ... https://docs.mongodb.com db.updateUser() — MongoDB Manual
Updates the user's profile on the database on which you run the method. ... Specifies a list of IP addresses and CIDR ranges from which the user is allowed to ... https://docs.mongodb.com How to list all users in the mongo shell? - Stack Overflow
2019年6月26日 — You can do: db.getUsers(). or show users. The both commands print a list of users for the current database. See MongoDB documentation for ... https://stackoverflow.com How to list all users in the Mongo shell? - Tutorialspoint
https://www.tutorialspoint.com Manage Users and Roles — MongoDB Manual
A user administrator with the userAdminAnyDatabase role, or userAdmin role in the specific databases, provides ... getUser() method to display user information. https://docs.mongodb.com MongoDB Show Current User - Stack Overflow
The connectionStatus command shows authenticated users (if any, among some other data): db.runCommand(connectionStatus : 1}). Which results in ... https://stackoverflow.com system.users Collection — MongoDB Manual
For SCRAM user credentials, the information includes the mechanism, ... The document shows that a user Kari 's authentication database is the home database. https://docs.mongodb.com Users — MongoDB Manual
For a full list of user management methods, see User Management. A user is ... For more information on roles, see Role-Based Access Control. The user's name ... https://docs.mongodb.com usersInfo — MongoDB Manual
Set the field to true to show the user's full set of privileges, including expanded information for the inherited roles. By default, this field is false . If viewing all users, ... https://docs.mongodb.com |