Fetch user data from postgres database?

image

All the user’s info is stored in users-permissions_user table and it contains the following default fields:
image