+1 vote
by (438k points)

Which is the method used in MongoDB to Grant user?

(1)db.grantRole()
(2)All the Options
(3)db.grantRolesToUser()
(4)db.grantToUser()

1 Answer

0 votes
by (438k points)

Which is the method used in MongoDB to Grant user?

(1)db.grantRole()
(2)All the Options
(3)db.grantRolesToUser()
(4)db.grantToUser()

Answer:-(3)db.grantRolesToUser()

...