Make User

 avatar
unknown
plain_text
2 years ago
153 B
13
Indexable
use admin;
db.createUser({
  user: "softline",
  pwd: passwordPrompt(), // or cleartext password
  roles: [{ role: "dbOwner", db: "softline" }],
});
Editor is loading...