[DOCS-4152] Comment on: "manual/tutorial/add-user-administrator.txt" Created: 09/Oct/14  Updated: 03/Nov/17  Resolved: 13/Oct/14

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/tutorial/add-user-administrator/
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36
Referrer: http://docs.mongodb.org/manual/administration/security-user-role-management/
Screen Resolution: 1920 x 1200
repo: docs
source: tutorial/add-user-administrator


Participants:
Days since reply: 9 years, 18 weeks, 6 days ago

 Description   

createUser seems to be deprecated, but still used in this tutorial.

Deprecated since version 2.6: Use db.createUser() and db.updateUser() instead of db.addUser() to add users to MongoDB.

In 2.6, MongoDB introduced a new model for user credentials and privileges, as described in Security Introduction. To use db.addUser() on MongoDB 2.4, see db.addUser() in the version 2.4 of the MongoDB Manual.


Generated at Thu Feb 08 07:47:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.