Table 6.1 – continued from previous page MongoDB Documentation, Release 3.0.4 atype param result createCollection (page 419) { ns: <database>.<collection> } 0 - Success createDatabase { ns: <database> } 0 - Success createIndex (page 420) { ns: <database>.<collection>, indexName: <index name>, indexSpec: <index specification> } 0 - Success renameCollection { old: <database>.<collection>, new: <database>.<collection> } 0 - Success dropCollection (page 420) { ns: <database>.<collection> } 0 - Success dropDatabase (page 422) { ns: <database> } 0 - Success dropIndex (page 422) { ns: <database>.<collection>, indexName: <index name> } 0 - Success createUser (page 420) { user: <user name>, db: <database>, customData: <document>, roles: [ { role: <role name>, db: <database> }, ... ] } The customData field is optional. 0 - Success dropUser (page 420) { user: <user name>, db: <database> } 0 - Success Continued on next page Chapter 6. Security 426