user Query
Returns the specified User object.
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 fieldsArgument | Type | Description |
---|---|---|
id | ID! | The ID of the User object. |
User)#
Return fields (Boolean!)#
allowChangeRoles (Specifies whether the signed-in User can change the Role of the User.
Boolean!)#
allowRemove (Specifies whether the signed-in User can remove the User.
Boolean!)#
allowUpdate (Specifies whether the signed-in User can update the User.
String)#
appAvatarUrl (The URL for the main avatar image that is displayed in Prismatic.
String!)#
appName (The app name displayed in Prismatic.
String)#
avatarUrl (The URL for the avatar image.
Customer)#
customer (The Customer the user belongs to, if any. If this is NULL then Organization will be specified.
Boolean!)#
darkMode (Designates whether the User has dark mode activated or not.
Boolean!)#
darkModeSyncWithOs (Designates whether dark mode should be derived from the operating system.
DateTime!)#
dateJoined (The date the User was created.
String!)#
email (The email address associated with the User.
String)#
externalId (Allows for mapping an external entity to a Prismatic record.
JSONString!)#
featureFlags (ID!)#
id (The ID of the object
String!)#
marketplaceName (The name displayed for the Marketplace.
String!)#
name (The user's preferred name.
Organization)#
org (The Organization that the User belongs to, if any. If this is NULL then Customer will be specified.
String!)#
phone (The preferred contact phone number for the User.
Role!)#
role (The Role associated with the User which determines its permissions.