# getUserByID **Type:** GraphQL queries **Description:** Gets the user account details by the user ID ## Arguments - UserID (String): UserId of the user to retrieve details for ## Response **Type:** UserDetail **Description:** Response returned after getting user details with account information ### Fields - accounts (UserAccount): Accounts associated with the user - attributes (Attribute): Represents the custom attributes associated with the account - city (String): City of the user - country (String): Country of the user - displayName (String): Display name of the user - emailAddress (String): Email address of the user - faxNumber (String): Fax number of the user - firstName (String): First name of the user - lastName (String): Last name of the user - locale (String): Locale preference of the user - optIn (Boolean): Whether the user has opted in for communications - phoneNumber (String): Phone number of the user - portalLogin (Boolean): Whether the user can login - shared (Boolean): Whether the user is shared across accounts - state (String): State or province of the user - status (String): Status of the user account (active/inactive) - street (String): Street address of the user - timezone (String): Timezone preference of the user - userName (String): Username of the user - zipcode (String): Postal/ZIP code of the user