otwol
asked Aug 13 2019
Answer
To List the users in the particular database of MongoDB,try running the below command
Switch to the particular database like
use -database-name-
db.getusers()
linuxhelp
asked Aug 14 2019
edited Aug 14 2019
How to List the Users in the particular Database of MongoDB
Hello,I just want to list the users in the particulkar database of mongodb an also their roles