A user in the Glean directory.
| Field | Type | Required | Description |
|---|---|---|---|
userId |
String | ✔️ | Opaque canonical Glean user ID. Other Platform APIs, such as usage limits, accept and return this ID. |
displayName |
String | ✔️ | The name that Glean shows for the user. |
email |
Optional<String> | ➖ | Primary email address. |
aliasEmails |
List<String> | ➖ | The user's other email addresses, sorted, without the primary email. Absent when the user has none or the workspace does not show alias emails. |
isActive |
boolean | ✔️ | Whether the user is active. A user whose type is FORMER_EMPLOYEE is inactive. |
userType |
Optional<PlatformPersonType> | ➖ | Person employment status or account type. |
title |
Optional<String> | ➖ | Job title. |
department |
Optional<PlatformDepartmentReference> | ➖ | A reference to a department in the Glean directory. |
manager |
Optional<PlatformUserManager> | ➖ | The user that another user reports to. |
photoUrl |
Optional<String> | ➖ | Avatar URL. |
datasourceProfiles |
List<PlatformUserDatasourceProfile> | ➖ | The user's accounts in connected apps. Present only when include contains DATASOURCE_PROFILES. Each account appears once, even when more than one connected app instance reports it. |