@@ -792,7 +792,9 @@ public CommandResultPair(final CommandFailureException failure) {
792792 * @return the result of executing this operation
793793 * @throws MongoException
794794 * @mongodb.driver.manual administration/security-access-control/ Access Control
795- * @deprecated Use {@code DB.command} to call either the addUser or updateUser command
795+ * @mongodb.driver.manual reference/command/createUser createUser
796+ * @mongodb.driver.manual reference/command/updateUser updateUser
797+ * @deprecated Use {@code DB.command} to call either the createUser or updateUser command
796798 */
797799 @ Deprecated
798800 public WriteResult addUser ( String username , char [] passwd ){
@@ -808,7 +810,9 @@ public WriteResult addUser( String username , char[] passwd ){
808810 * @return the result of executing this operation
809811 * @throws MongoException
810812 * @mongodb.driver.manual administration/security-access-control/ Access Control
811- * @deprecated Use {@code DB.command} to call either the addUser or updateUser command
813+ * @mongodb.driver.manual reference/command/createUser createUser
814+ * @mongodb.driver.manual reference/command/updateUser updateUser
815+ * @deprecated Use {@code DB.command} to call either the createUser or updateUser command
812816 */
813817 @ Deprecated
814818 public WriteResult addUser ( String username , char [] passwd , boolean readOnly ){
@@ -828,6 +832,7 @@ public WriteResult addUser( String username , char[] passwd, boolean readOnly ){
828832 * @return the result of executing this operation
829833 * @throws MongoException
830834 * @mongodb.driver.manual administration/security-access-control/ Access Control
835+ * @mongodb.driver.manual reference/command/dropUser dropUser
831836 * @deprecated Use {@code DB.command} to call the dropUser command
832837 */
833838 @ Deprecated
0 commit comments