db.createUser({ user: "rank_user", pwd: "12345", roles: [{ role: "readWrite", db: "mydb" }] });