ObjectUserTerritory2View

Represents a user and object, such as an account or lead, assigned to a territory. This object is available in API version 58.0 and later.

Supported Calls

describeSObjects(), query(), retrieve()

Special Access Rules

To see this object, enable Sales Territories.

Fields

Field Details
ObjectId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Required field for querying ObjectUserTerritory2View.
ID of the object that the territory user is assigned to.
This field is a polymorphic relationship field.
Relationship Name
Object
Refers To
Account, Lead
RoleInTerritory2
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
Role of the user assigned to the territory.
Territory2Id
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the territory to which the object and user are assigned.
This field is a relationship field.
Relationship Name
Territory2
Refers To
Territory2
UserId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the user assigned to the territory.
This field is a relationship field.
Relationship Name
User
Refers To
User