Table: make_user
Existing Users within your account, and their attributes.
Key columns
- Provide a numeric
id
if you want to query for a specific User. - Provide a numeric
organization_id
, orteam_id
to query Users for a specific Organization, or a Team. This can be either set directly in awhere
clause, or specified as part ofjoin
with another table.
Caveat
- Thanks to the structure of the Make API, Users can appear in the response multiple times if you query this table.
Use
distinct
, orgroup by
to get unique records.
Examples
List of all Users in the account
select distinct id, namefrom make_userorder by name;
List of all Users in an Organization, or a Team
-- organizationselect distinct id, namefrom make_userwhere organization_id = 1order by name;-- teamselect distinct id, namefrom make_userwhere team_id = 1order by name;
List of all Users who logged in the last 30 days
select distinct id, name, last_loginfrom make_userwhere last_login > now() - interval '30 days'order by name;
Schema for make_user
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
avatar | text | Gravatar URL for the User. | |
country_id | bigint | The ID of the country associated with the User. | |
text | User's email. | ||
features | jsonb | Features enabled for the User. | |
id | bigint | The user ID. | |
language | text | Environment language. | |
last_login | timestamp with time zone | Date and time of the last login. | |
locale_id | bigint | Environment locale - date and hour formats, decimal separators etc. | |
name | text | The name of the User. | |
organization_id | bigint | Virtual column, used to map the entity to another object. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
team_id | bigint | Virtual column, used to map the entity to another object. | |
timezone_id | bigint | The ID of the timezone associated with the User. | |
title | text | The display name for the resource. |