Skip to main content

UserAccount

An account entry returned by me.accounts, with role flags, site scope, and account integration data.

type UserAccount {
id: Int
harnessId: String
isAccountHolder: Boolean
isOwner: Boolean
isManager: Boolean
isReadOnly: Boolean
isRestricted: Boolean
restrictedSitesIds: [Int!]
isCurrent: Boolean
ownerName: String
ownerEmail: String
ownerCreatedAt: Int
paddedId: String
scriptUrl: String
scriptVersion: String
name: String
ownerAvatarUrl: String
sites: [Site]
gaProperties: [GaProperty]
isShopifyUser: Boolean
useStripe: Boolean
shopifyDomain: String
}

Fields​

UserAccount.id ● Int scalar​

UserAccount.harnessId ● String scalar​

UserAccount.isAccountHolder ● Boolean scalar​

UserAccount.isOwner ● Boolean scalar​

UserAccount.isManager ● Boolean scalar​

UserAccount.isReadOnly ● Boolean scalar​

UserAccount.isRestricted ● Boolean scalar​

UserAccount.restrictedSitesIds ● [Int!] list scalar​

UserAccount.isCurrent ● Boolean scalar​

UserAccount.ownerName ● String scalar​

UserAccount.ownerEmail ● String scalar​

UserAccount.ownerCreatedAt ● Int scalar​

Account holder creation time in Unix seconds.

UserAccount.paddedId ● String scalar​

Account ID as a decimal string padded to at least eight digits with leading zeroes.

UserAccount.scriptUrl ● String scalar​

Tracking script URL for this account.

UserAccount.scriptVersion ● String scalar​

UserAccount.name ● String scalar​

UserAccount.ownerAvatarUrl ● String scalar​

Account holder avatar image URL.

UserAccount.sites ● [Site] list object​

UserAccount.gaProperties ● [GaProperty] list object​

Returns Google Analytics properties linked to this account.

UserAccount.isShopifyUser ● Boolean scalar​

UserAccount.useStripe ● Boolean scalar​

UserAccount.shopifyDomain ● String scalar​

Member Of​

MeDetails object