vw_users
Creates, updates, deletes, gets or lists a vw_users
resource.
Overview
Name | vw_users |
Type | View |
Id | azure.api_management.vw_users |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.firstName') as "first_name",
JSON_EXTRACT(properties, '$.lastName') as "last_name",
JSON_EXTRACT(properties, '$.email') as "email",
JSON_EXTRACT(properties, '$.registrationDate') as "registration_date",
JSON_EXTRACT(properties, '$.groups') as "groups",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.note') as "note",
JSON_EXTRACT(properties, '$.identities') as "identities",
subscriptionId,
resourceGroupName,
serviceName,
userId
FROM azure.api_management.users
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serviceName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.firstName') as "first_name",
json_extract_path_text(properties, '$.lastName') as "last_name",
json_extract_path_text(properties, '$.email') as "email",
json_extract_path_text(properties, '$.registrationDate') as "registration_date",
json_extract_path_text(properties, '$.groups') as "groups",
json_extract_path_text(properties, '$.state') as "state",
json_extract_path_text(properties, '$.note') as "note",
json_extract_path_text(properties, '$.identities') as "identities",
subscriptionId,
resourceGroupName,
serviceName,
userId
FROM azure.api_management.users
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serviceName = 'replace-me';