AccountUserTerritory2View

Represents the view of the Users in Assigned Territories related list in Lightning Experience for Sales Territories.

Introduced in API version 42.0.

describeSObjects(), query(), retrieve()

  • Standard and partner users can access this object.
  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: Unique identifier for the account associated with the Users in Assigned Territories related list.
  • Relationship name: Account
  • Relationship type: relationship
  • Refers to: Account
  • Type: picklist
  • Properties: Filter, Group, Nillable, Sort
  • Description: The role of each user in the Users in Assigned Territories related list.
  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: Unique identifier for each territory in the Users in Assigned Territories related list.
  • Relationship name: Territory2
  • Relationship type: relationship
  • Refers to: Territory2
  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: Unique identifier for each user in the Users in Assigned Territories related list.
  • Relationship name: User
  • Relationship type: relationship
  • Refers to: User

Use this object to show the users who are assigned to the territories assigned to an account.

A filter criterion with one AccountId is required when you execute a SOQL query on this object.