From the psql interface, run the \du command:

List all users in Postgres

This will give you the list of all users in the system, plus their role attributes and the list of role groups they are member of.


Check out my in-depth, practical Web Development Courses!

(all 50% off with the coupon code POSITIVEVIBRATIONS)

⤴️⤴️⤴️