Skip to main content

User

Custom user model to change behaviour of the default user model such as validation and required fields.

type User {
id: UUID!
identity: String
avatarDefaultColor: String!
avatarLabel: String!
role: UserRole
isOidc: Boolean!
fullName: String!
avatar: String
avatarBlurhash: String
firstName: String
lastName: String
aboutMe: String
pronouns: String
location: String
geolocationId: String
engagementLevel: String
interests: [Topic]! @deprecated
interestsV2: [String]!
sdgs: [SDG]! @deprecated
skills: [Skill]! @deprecated
skillsV2: [String]!
connectionStatusToMyself: UserConnectionStatus
connectionStatusToSpace(
spaceId: UUID!
): [SpaceUserConnectionType]!
}

Fields

User.id ● UUID! non-null scalar

Required. 36 characters or fewer. Letters, digits and _ only.

User.identity ● String scalar

255 characters or fewer. Must start with a lowercase letter and contain lowercase letters, digits, '_', '-' and '.' only.

User.avatarDefaultColor ● String! non-null scalar

User.avatarLabel ● String! non-null scalar

User.role ● UserRole enum

User.isOidc ● Boolean! non-null scalar

User.fullName ● String! non-null scalar

Can be an empty string

User.avatar ● String scalar

User.avatarBlurhash ● String scalar

User.firstName ● String scalar

User.lastName ● String scalar

User.aboutMe ● String scalar

User.pronouns ● String scalar

User.location ● String scalar

User.geolocationId ● String scalar

User.engagementLevel ● String scalar

User.interests ● [Topic]! deprecated non-null object

DEPRECATED

Deprecated since 1.52. Use interests_v2 instead.

User.interestsV2 ● [String]! non-null scalar

User.sdgs ● [SDG]! deprecated non-null object

DEPRECATED

Deprecated since 1.53.

User.skills ● [Skill]! deprecated non-null object

DEPRECATED

Deprecated since 1.52. Use skills_v2 instead.

User.skillsV2 ● [String]! non-null scalar

User.connectionStatusToMyself ● UserConnectionStatus enum

User.connectionStatusToSpace ● [SpaceUserConnectionType]! non-null enum

User.connectionStatusToSpace.spaceId ● UUID! non-null scalar

Returned By

authenticatedUser query ● updateAuthenticatedUser mutation ● updateConnectionWithUser mutation ● userById query

Member Of

Appointment object ● Comment object ● FeedPost object ● Insight object ● InsightPreview object ● Notification object ● NotificationOptions object ● Poll object ● Post object ● PostComment object ● Space object ● SpaceInvite object ● SpaceMember object ● SpaceMembershipRequest object ● Task object ● UserPaged object