-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: mongodb-2.6
-
Component/s: manual
-
Labels:
In this page db.grantRolesToUser(), the example syntax is incorrect.
db.grantRolesToUser( "accountUser01", [ "readWrite" , { role: "read", db: "stock"} ], { w: "majority" , wtimeout: 4000 } } )
Please remove the last "}".