powered by
mongo.add.user(mongo, username, password, db = "admin")
mongo.authenticate
mongo.create
mongo <- mongo.create() if (mongo.is.connected(mongo)) mongo.add.user(mongo, "Jeff", "H87b5dog")
Run the code above in your browser using DataLab