## 52.95. `pg_user`

[]()

 The view `pg_user` provides access to information about database users. This is simply a publicly readable view of [`pg_shadow`](view-pg-shadow.html) that blanks out the password field.

**Table 52.96. `pg_user` Columns**

|                                                      Column Type<br/><br/> Description                                                     |
|--------------------------------------------------------------------------------------------------------------------------------------------|
|                                                    `usename` `name`<br/><br/> User name                                                    |
|                                                 `usesysid` `oid`<br/><br/> ID of this user                                                 |
|                                          `usecreatedb` `bool`<br/><br/> User can create databases                                          |
|                                              `usesuper` `bool`<br/><br/> User is a superuser                                               |
|              `userepl` `bool`<br/><br/> User can initiate streaming replication and put the system in and out of backup mode.              |
|`usebypassrls` `bool`<br/><br/> User bypasses every row-level security policy, see [Section 5.8](ddl-rowsecurity.html) for more information.|
|                                  `passwd` `text`<br/><br/> Not the password (always reads as `********`)                                   |
|                      `valuntil` `timestamptz`<br/><br/> Password expiry time (only used for password authentication)                       |
|                            `useconfig` `text[]`<br/><br/> Session defaults for run-time configuration variables                            |

