title: About mongodb 3.0.2 auth
body: <p>I upgraded my mongodb server to version v3.0.2.
  Everything seems to be working fine except for auth user creation, the documentation about this version states, that it works the same as the previous versions: <a href="http://docs.mongodb.org/manual/reference/method/db.createUser" rel="nofollow">http://docs.mongodb.org/manual/reference/method/db.createUser</a>
  But for some reason it doesn't seem to be working for me:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>root@Bakalaurs:~# mongo
  &gt; use admin
  switched to db admin
  &gt; db.addUser({user:"root", pwd:"asd", roles:[ "userAdminAnyDatabase", "readWrite" ] } )
  2015-05-01T06:14:07.029-0400 E QUERY    TypeError: Property 'addUser' of object admin is not a function
      at (shell):1:4
  &gt; use bakalaurs
  switched to db bakalaurs
  &gt; db.addUser({user:"bakalaurs", pwd:"asdf", roles:[ "readWrite" ]})
  2015-05-01T06:15:36.595-0400 E QUERY    TypeError: Property 'addUser' of object bakalaurs is not a function
      at (shell):1:4
  bye</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any ideas what am I doing wrong?</p>
  
  <p>EDIT: nevermind, just noticed that now it's createUser instead of addUser, changed the function and it works fine now.</p>