export list of database users
For audit purposes, I would like to have an export function to create a list of database users. The current view of database access contains the name and the associated roles. Having this information as a csv or pdf file would make it easier to deliver this access information to compliance teams.
I realize this isn't exactly what you're looking for, but the Atlas API may help you achieve your objective: https://docs.atlas.mongodb.com/reference/api/database-users/