| AccountAccessLevel |
- Type
- picklist
- Properties
- Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- Description
- Level of access that the User or Group has to the Account. The possible values are:
- Read
- Edit
-
All (This value isn't valid for create or update calls.)
This field must be set to an access level that is at least equal to the
organization’s default Account access level. In addition, either this field, the OpportunityAccessLevel field, or the CaseAccessLevel field must be set higher than the organization’s default access
level.
|
| AccountId |
- Type
- reference
- Properties
- Create, Filter, Group, Sort
- Description
- ID of the Account associated with this sharing entry. This field can't be updated.
|
| CaseAccessLevel |
- Type
- picklist
- Properties
- Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- Description
- Level of access that the User or Group has to cases associated with the account. The possible values are:
This field must be set to an access level that is at least equal to the
organization’s default CaseAccessLevel. This field can't be updated via the API if the AccountAccessLevel field is set to All. You can't update
this field for the associated account owner via the API. You must update the
account owner’s CaseAccessLevel via the Salesforce user interface.
|
| ContactAccessLevel |
- Type
- picklist
- Properties
- Filter,
Group, Nillable, Restricted picklist, Sort
- Description
- Level of access that the User or Group has to contacts associated with the account. The possible values are:
This field must be set to an access level that is at least equal to the
organization’s default ContactAccessLevel. This field can't be updated via the API if the ContactAccessLevel field is set to “Controlled by Parent.” You can't update this
field for the associated account owner using the API. You must update the
account owner’s ContactAccessLevel via the Salesforce user interface.
|
| OpportunityAccessLevel |
- Type
- picklist
- Properties
- Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- Description
- Level of access that the User or Group has to opportunities associated with the Account. The possible values are:
This field must be set to an access level that is at least equal to
the organization’s default opportunity access level. This field
can’t be updated via the API if the AccountAccessLevel field is set to All. You can't use
the API to update this field for the associated Account owner. You must update the Account owner’s opportunityAccessLevel via the Salesforce user
interface.
|
| RowCause |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist, Sort
- Description
- Reason that this sharing entry exists. You can only write to this field when
its value is either omitted or set to Manual (default). You can create a value for this field in API versions
32.0 and later with the correct organization-wide sharing settings.
- Valid values include:
-
Manual—The User or Group has access because a User with “All” access manually shared the Account with the user or group.
-
ImplicitParent—The User or Group has access because they’re the owner of or have sharing access to
records related to the account, such as opportunities, cases, contacts,
contracts, or orders.
-
Owner—The User is the owner of the Account
-
Team—The User or Group has team access (is an AccountTeamMember).
-
Rule—The User or Group has access via an Account sharing rule.
-
Territory2AssociationManual—With Enterprise Territory
Management in API version 44.0 and earlier, the TerritoryManual reason code was written to
AccountShare records when you manually assigned an
account to a territory. In API version 45.0 and later, Territory2AssociationManual replaces all
instances of TerritoryManual, and the
Territory2AssociationManual reason
code is written to AccountShare records when you
manually assign an account to a territory.
|
| UserOrGroupId |
- Type
- reference
- Properties
- Create, Filter, Group, Sort
- Description
- ID of the User or Group that has been given access to the Account. This field can't be updated.
|