Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

AccountUserTerritory2View

Represents the view of the Users in Assigned Territories related list in Lightning Experience for Sales Territories. Available in API version 42.0 and later.

Supported Calls

describeSObjects(), query(), retrieve()

Special Access Rules

Standard and partner users can access this object.

Fields

Field Name Details
AccountId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Unique identifier for the account associated with the Users in Assigned Territories related list.
RoleInTerritory2
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
The role of each user in the Users in Assigned Territories related list.
Territory2Id
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Unique identifier for each territory in the Users in Assigned Territories related list.
UserId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Unique identifier for each user in the Users in Assigned Territories related list.

Usage

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.