Skip to main content

User

Represents an end-user of this application

type User {
attendanceData(
filter: UserAttendanceFilter!
): AttendanceData!
attendanceTimer: AttendanceTimer!
displayName: String!
email: String!
employee: Employee
favouritePark: ResidentialPark
id: UserID!
tours: [ActiveTour!]!
}

Fields

User.attendanceData ● AttendanceData! non-null object

All attendances of a user for a specific time period

User.attendanceData.filter ● UserAttendanceFilter! non-null input

User.attendanceTimer ● AttendanceTimer! non-null object

The current users attendanceTimer

User.displayName ● String! non-null scalar

Display name of the user.

User.email ● String! non-null scalar

E-mail address of the user.

User.employee ● Employee object

The employee connected to the given user. Null if there is no current employee assigned.

User.favouritePark ● ResidentialPark object

The favourite park of this user. We will automatically move to this after login. Null if there is no current favourite park.

User.id ● UserID! non-null scalar

Unique identifier

User.tours ● [ActiveTour!]! non-null object

Fetches a list of all active tours assigned to the current user.

Per default you always get 2 days in the past and 4 days in the future.

Returned By

me query ● users query

Member Of

Employee object ● SecurityGroup object