how to authenticate user in mongodb
MongoDb283
description
Authenticate the admin user identity after passing through the mongo shell
command
mongo use admin db.auth('username','password')
parameter
auth(<username>, <password>) : Allow users to authenticate to the database from within the shell.
result
1