MongoDBUser(Role)On this pageMongoDB User(Role)User User 생성 createUser // use <database>db.createUser({ user: "<user>", pwd: "<password>", // or passwordPrompt() roles: [ // "<role>", { role: "<role>", db: "<database>" }, ],}); User에 Role 부여하기 grantRolesToUser Role 사전 정의된 Role Built-In Roles