Skip to main content

authenticatedUser Query

Returns the signed-in User.

Access is permitted when any of the following condition(s) are met: 1. The specified object is the signed-in User. 2. The signed-in User has any of the following permissions for the associated Organization: [org_admin_users, org_view_users]. 3. The signed-in User has any of the following permissions for the associated Organization: [org_admin_customer_permissions, org_manage_customers, org_view_customers]. 4. The signed-in User has any of the following permissions for the object's 'customer' attribute: [customer_admin_users, customer_view_users].

Input fields

ArgumentTypeDescription

Return fields (User!)

allowChangeRoles (Boolean!)

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

allowRemove (Boolean!)

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

allowUpdate (Boolean!)

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

appAvatarUrl (String)

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

appName (String!)

The app name displayed in Prismatic.

avatarUrl (String)

The URL for the avatar image.

createdAt (DateTime!)

The timestamp at which the object was created.

customer (Customer)

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

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.

dateJoined (DateTime!)

The date the User was created.

email (String!)

The email address associated with the User.

externalId (String)

Allows for mapping an external entity to a Prismatic record.

featureFlags (JSONString!)
id (ID!)

The ID of the object

marketplaceName (String!)

The name displayed for the Marketplace.

name (String!)

The user's preferred name.

org (Organization)

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

phone (String!)

The preferred contact phone number for the User.

role (Role!)

The Role associated with the User which determines its permissions.

updatedAt (DateTime!)

The timestamp at which the object was most recently updated.