db.enableFreeMonitoring() Behavior Access Control Example db.enableFreeMonitoring() db. enableFreeMonitoring () New in version 4.0: Available for MongoDB Community Editi...
db.getUser() Definition Required Access Example db.getUser() Definition db. getUser (username, args) Returns user information for a specified user. Run this method on th...
db.auth() Definition Behavior Client Disconnection Example db.auth() Definition db. auth () Allows a user to authenticate to the database from within theshell. Tip St...
db.setLogLevel() Definition Behavior Examples Set Default Verbosity Level Set Verbosity Level for a Component db.setLogLevel() Definition db. setLogLevel () New in v...
db.printReplicationInfo() Definition Output Example Output Fields db.printReplicationInfo() Definition db. printReplicationInfo () Prints a formatted report of the repli...