const response = await client.profiles.retrieve([{ userIdentifier: 'abcd' }]);{
"items": [
{
"userIdentifier": "abcd",
"lastUpdatedTime": 1730204346000,
"givenName": "Jane",
"surname": "Doe",
"email": "jane.doe@example.com",
"displayName": "Jane Doe",
"jobTitle": "Software Engineer",
"identityType": "USER"
}
]
}Required capabilities:
userProfilesAcl:READ
Deprecated in favor of the Retrieve principals endpoint.
Retrieve one or more user profiles indexed by the user identifier in the same CDF project.
const response = await client.profiles.retrieve([{ userIdentifier: 'abcd' }]);{
"items": [
{
"userIdentifier": "abcd",
"lastUpdatedTime": 1730204346000,
"givenName": "Jane",
"surname": "Doe",
"email": "jane.doe@example.com",
"displayName": "Jane Doe",
"jobTitle": "Software Engineer",
"identityType": "USER"
}
]
}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.
Specify a maximum of 1000 unique IDs.
Array of user identifiers
Show child attributes
Show child attributes
Was this page helpful?