res = client.postgres_gateway.users.retrieve("myUser", ignore_unknown_ids=True)
{
"items": [
{
"username": "<string>",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"sessionId": 4503599627370496
}
]
}Required capabilities:
postgresGateway:READ
Retreive a list of postgres users by their usernames, optionally ignoring unknown usernames
res = client.postgres_gateway.users.retrieve("myUser", ignore_unknown_ids=True)
{
"items": [
{
"username": "<string>",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"sessionId": 4503599627370496
}
]
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
List of users retrieved by their usernames
Show child attributes
Was this page helpful?