UserModel

Model GraphQL Type

Anytime you refer to a user in a template, you're actually being provided with a UserModel object.

User Properties

UserModel objects have the following properties:

dateCreated

A UNIX timestamp of the date the user was created.

email

The user’s email address.

name

An object containing the user’s first and last name.

name.first

The user’s first name.

name.last

The user’s last name.

_id

The user’s ID.

user group

The user’s user group. This is an object based on the User Group model.

username

The user’s username.