db.createUser({ user: "root", pwd: "iMaxeam00!", roles: [ { role: "root", db: "admin" } ] }) db.createUser({ user: "admin", pwd: "iMaxeam00!", roles: [ { role: "userAdminAnyDatabase", db: "admin" } ] }) db.createUser({ user: "maxappsadmin", pwd: "iMaxeam00!" ,roles:[{role: "userAdmin" , db:"maxapps_sync_server"}, { role: "readWrite", db: "maxapps_sync_server" }]})