Newer Version Available
UserTerritory
Supported Calls
create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()
Special Access Rules
- Only available if territory management has been enabled for your organization.
- As of Spring ’20 and later, only users with the View Setup and Configuration permission can access this object, and only users with the Manage Territories permission can edit this object.
Fields
| Field | Details |
|---|---|
| IsActive |
|
| IsDeleted |
|
| TerritoryId |
|
| UserId |
|
Usage
If a user is inactive in a territory, and the opportunities they own that are associated with the territory are all closed, the user is not returned in the Territories related list on the User page in Setup. Regardless of whether the user is inactive or the opportunities are closed, the user is returned in the Quotas related list.