title: How to create a user in MongoDB
body: <p>I'm using the latest version of the driver and MongoDB database 2.6 and I used to create users using the following code:</p>
  
  <pre><code>        MongoUser _user1 = new MongoUser("username", "password", false);
  
          MongoDatabase.AddUser(_user1);
  </code></pre>
  
  <p>and now it is saying <code>MongoDatabase.AddUser()</code> is deprecated by showing the following information: </p>
  
  <blockquote>
    <p>...is obsolete: Use the new user management command 'createUser' or
    'updateUser'."</p>
  </blockquote>
  
  <p>Where is this new user management command? How do I create a user using the new MongoDB C# driver?</p>