Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 463 Bytes

list-database-users.md

File metadata and controls

13 lines (11 loc) · 463 Bytes

List Database Users

Within psql, type \du to list all the users for a database and their respective permissions.

> \du
                              List of roles
 Role name  |                   Attributes                   | Member of
------------+------------------------------------------------+-----------
 jbranchaud | Superuser, Create role, Create DB, Replication | {}
 sampleuser | Create DB                                      | {}