Skip to main content

Returns

AccountUserType

User objects are the core of the authentication system. They typically represent a customer who manages a portfolio of one or more accounts.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can access customer queries
OR Can view account number
OR Can view account type
OR Can view account user permissions
OR Can view sensitive customer information

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

query Viewer { viewer { accounts { ...AccountInterfaceFragment } accountUserRoles { ...AccountUserRoleTypeFragment } address { ...RichAddressTypeFragment } alternativePhoneNumbers businesses { ...BusinessConnectionTypeConnectionFragment } consents { ...ConsentTypeFragment } createdAt dateOfBirth details { ...AccountUserDetailTypeFragment } email externalId familyName fullName givenName hasFamilyIssues holdMusicChoices { ...TrackOptionTypeFragment } id isActive isDeceased isInHardship isOptedInToWof label landline liveSecretKey mobile number paymentMethods { ...PaymentInstructionConnectionTypeConnectionFragment } permissions { ...AccountUserPermissionFragment } portfolioIds portfolios { ...PortfolioConnectionTypeConnectionFragment } portfolioUserRoles { ...PortfolioUserRoleTypeFragment } preferences { ...AccountUserCommsPreferencesFragment } preferredName pronouns specialCircumstances { ...SpecialCircumstancesTypeFragment } title } }

Response

{ "data": { "viewer": { "accounts": AccountInterface, "accountUserRoles": [AccountUserRoleType], "address": RichAddressType, "alternativePhoneNumbers": "news-yes-player-reveal-school", "businesses": BusinessConnectionTypeConnection, "consents": [ConsentType], "createdAt": "2011-03-20T02:30:01.891744+00:00", "dateOfBirth": "1981-04-03", "details": [AccountUserDetailType], "email": "type-over-might-visit-Republican", "externalId": "50981583", "familyName": "Warner", "fullName": "last-protect-culture-moment-question", "givenName": "Beth", "hasFamilyIssues": true, "holdMusicChoices": [TrackOptionType], "id": "64392012", "isActive": true, "isDeceased": true, "isInHardship": true, "isOptedInToWof": true, "label": "from-perform-window-record-whose", "landline": "attack-would-easy-whom-fact", "liveSecretKey": "again-return-choose-single-however", "mobile": "establish-concern-available-simply-act", "number": "tree-sometimes-in-rate-field", "paymentMethods": PaymentInstructionConnectionTypeConnection, "permissions": [AccountUserPermission], "portfolioIds": "72018087", "portfolios": PortfolioConnectionTypeConnection, "portfolioUserRoles": [PortfolioUserRoleType], "preferences": AccountUserCommsPreferences, "preferredName": "strategy-machine-level-animal-member", "pronouns": "seat-institution-great-prevent-after", "specialCircumstances": SpecialCircumstancesType, "title": "medical-watch-real-I-read" } } }