Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1515

Document db.changeUserPassword()

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:

      Hi,

      In 2.2 authentication, db.addUser was used to add a user as well as change the password for existing users but it looks like you get a duplicate key error in 2.4 if you try to use addUser to change a password.

      I think the new command is changeUserPassword but I don't see any documentation on it.

            Assignee:
            allison.moore@mongodb.com Allison Reinheimer Moore
            Reporter:
            jlee Jeff lee
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              11 years, 5 weeks, 6 days ago