Visits: 1135
I need to change a username in mongodb 3.4 due to re-branding to floatingcloud.io
db.system.users.update({"user":"oldname"}, {$set:{"user":"newname"}})
From: https://stackoverflow.com/questions/35265277/how-to-rename-a-user-in-mongodb