Get the user profile of the principal issuing the request

Retrieves the user profile of the principal issuing the request. If a principal doesn't have a user profile, you get a not found (404) response code.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Responses
200
404

The user profile for the requesting principal was not found.

get/profiles/me
Request samples
const response = await client.profiles.me();
Response samples
application/json
{
  • "userIdentifier": "abcd",
  • "givenName": "Jane",
  • "surname": "Doe",
  • "email": "jane.doe@example.com",
  • "displayName": "Jane Doe",
  • "jobTitle": "Software Engineer",
  • "identityType": "USER",
  • "lastUpdatedTime": 0
}