UserTerritory2Association
Represents an association (by assignment) between a territory and a user record.
Introduced in API version 30.0.
create(), delete(), describeSObjects(), query(), retrieve()
- Standard and partner users can access this object. If a territory model is in
Activestate, any standard or partner user can view that model, including its territories and assignment rules. For territories in an active model, any standard or partner user can view assigned records and assigned users based on your Salesforce sharing settings. Users cannot view territory models in other states (such asPlanningorArchived).
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Description: Indicates whether the user is active (
true) or inactive (false) in the given territory. - Default value: false
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 32.0
- Description: The role of the user in a territory. Possible values are: Owner, Administrator, Sales Rep. Label is
Role in Territory.
- Type: reference
- Properties: Create, Filter, Group, Sort
- Description: The ID of the territory that the user is assigned to.
- Relationship name: Territory2
- Relationship type: relationship
- Refers to: Territory2
- Type: reference
- Properties: Create, Filter, Group, Sort
- Description: The ID of the user who is assigned to the territory.
- Relationship name: User
- Relationship type: relationship
- Refers to: User