• Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • v1.3.5
    • Affects Version/s: mongodb-2.6
    • Component/s: manual

      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 "}".

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            sherry.ger@10gen.com Sherry Ger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 49 weeks, 1 day ago