MongoDB Documentation, Release 3.0.4 Table 6.1 – continued from previous page atype param result revokePrivilegesFromRole { role: <role name>, db: <database name>, privileges: [ { resource: <resource document>, actions: [ <action>, ... ] }, ... ] } For details on the resource document, see Resource Document (page 417). For a list of actions, see Privilege Ac- tions (page 419). 0 - Success replSetReconfig { old: <configuration>, new: <configuration> } Indicates membership change in the replica set. The old field is optional. 0 - Success enableSharding (page 421) { ns: <database> } 0 - Success shardCollection { ns: <database>.<collection>, key: <shard key pattern>, options: { unique: <boolean> } } 0 - Success addShard (page 421) { shard: <shard name>, connectionString: <hostname>:<port>, maxSize: <maxSize> } When a shard is a replica set, the connectionString includes the replica set name and can include other members of the replica set. 0 - Success removeShard (page 422) { shard: <shard name> } 0 - Success shutdown (page 423) { } Indicates commencement of database shutdown. 0 - Success Continued on next page Chapter 6. Security 430