interface UserProfileItem {
    displayName?: null | string;
    email?: null | string;
    givenName?: null | string;
    identityType?: IdentityType;
    jobTitle?: null | string;
    lastUpdatedTime: number;
    surname?: null | string;
    userIdentifier: string;
}

Properties

displayName?: null | string

The display name for the user.

Jane Doe
email?: null | string

The user's email address (if any). The email address is is returned directly from the identity provider and not guaranteed to be verified. Note that the email is mutable and can be updated in the identity provider. It should not be used to uniquely identify as a user. Use the userIdentifier property instead.

jane.doe@example.com
givenName?: null | string

The user's first name.

Jane
identityType?: IdentityType

The identity type field indicates the type of principal.

  • USER: Human user.
  • SERVICE_PRINCIPAL: Service account.
  • INTERNAL_SERVICE: Internal CDF service.
jobTitle?: null | string

The user's job title.

Software Engineer
lastUpdatedTime: number

The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.

surname?: null | string

The user's last name.

Doe
userIdentifier: string

Uniquely identifies the principal the profile is associated with. This property is guaranteed to be immutable.

abcd