User

Represents a user account. A User may belong to an Organization directly or belong to a Customer, which itself belongs to an Organization.

Return fields#

id (ID!)#

The ID of the object.

avatarUrl (String!)#

The URL for the avatar image.

email (String!)#

The email address associated with the User.

org (Organization)#

The Organization that the User belongs to, if any. If this is NULL then Customer will be specified.

customer (Customer)#

The Customer the user belongs to, if any. If this is NULL then Organization will be specified.

name (String!)#

The user's preferred name.

phone (String!)#

The preferred contact phone number for the User.

dateJoined (DateTime!)#

The date the User was created.

darkMode (Boolean!)#

Designates whether the User has dark mode activated or not.

darkModeSyncWithOs (Boolean!)#

Designates whether dark mode should be derived from the operating system.

allowChangeRoles (Boolean!)#

Specifies whether the signed-in User can change the Role of the User.

role (Role!)#

The Role associated with the User which determines its permissions.

appAvatarUrl (String!)#

The URL for the main avatar image that is displayed in Prismatic.

allowUpdate (Boolean!)#

Specifies whether the signed-in User can update the User.

allowRemove (Boolean!)#

Specifies whether the signed-in User can remove the User.