Skip to content
  • Rudy Rodarte – SQL Server DBA
  • Technologies Covered

rudy dot dev

Rudy Rodarte's dev site

Mongoose on a laptop in space

List all MongoDB Users

Posted on 2023-01-202024-07-11 By RudyAdmin

Find User Script

The following script lists all of the users on a MongoDB server. The script includes the users’ assigned databases and their roles.

Results

The results are a list of User names, databases, and roles by database.

MongoDB Tags:mongo, mongodb, permissions

Post navigation

Next Post: Get current PostgreSQL Sessions
  • Twitter
  • Instagram
  • Facebook

Copyright © 2025 rudy dot dev.

Powered by PressBook Grid Dark theme