Magidoc

User
Object

A person with a Pie account, as seen by the calling user. Returned by the searchPeople and users queries and referenced from Assignment.user, Role.users, and WorkspaceUser.user. isInvite is true while the person holds a pending invite and has not finished signing up; accountDeactivated is true when the account was soft-deleted. preferredEmails maps workspace ids to the email address the user receives mail at in that workspace. Relations cover assignments, workspaceUsers, and historyLines. UserInfo is the lighter read-only shape embedded in most other types, and Me is the calling user's own account.

Fields

#

accountDeactivated

assignments

avatarContentType

avatarUrl

companyName

Company name set on profile.

email

Primary login email.

firstName

User's first name.

historyLines

id

Unique user id.

isInvite

lastName

User's last name.

phone

preferredEmails

unlimitedFreeOrganizations

workspaceUsers

Usages

#

References

#