Newer Version Available

This content describes an older version of this product. View Latest

UserTerritory2Association

Represents an association (by assignment) between a territory and a user record. Available only if Territory Management 2.0 has been enabled for your organization.

Supported Calls

create()delete()describeSObjects()query()retrieve()

Special Access Rules

If a territory model is in Active state, any user can view that model, including its territories and assignment rules. For territories in an active model, any user can view assigned records and assigned users subject to your organization’s sharing settings. Users cannot view territory models in other states (such as Planning or Archived).

Fields

Field Name Details
IsActive
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether the user is active (true) or inactive (false) in the given territory.
Territory2Id
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the territory that the user is assigned to.
UserId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the user who is assigned to the territory.