| 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.
- This is a relationship field.
- Relationship Name
- Account
- Relationship Type
- Lookup
- Refers To
- Account
|
| 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. If you’re creating a sharing entry,
the only permitted value is Manual. If no
value is specified, the field defaults to Manual. All other RowCause values are
read-only. After the sharing entry is created, this field can’t be
edited.
- 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.
-
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.
-
GuestRule—The user or group
has access via an Account guest user sharing rule.
-
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.
-
GuestParentImplicit—The
guest user has access because they have access to records related to the
Account, such as opportunities, cases, contacts, contracts, or
orders.
-
LpuParentImplicit—The User
has access because they have access to records related to the Account,
which are owned by high-volume Experience Cloud site users and shared via
a share group.
-
LpuImplicit—The User has
access to records owned by high-volume Experience Cloud site users via a
share group.
-
PortalImplicit—The Account
is associated with the portal user.
-
ARImplicit—The User, who
belongs to a partner or customer account, has access to the Account via an
account relationship data 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.
-
Territory—The territory has
access via a territory assignment rule.
-
TerritoryManual—Deprecated
starting in API version 45.0 and replaced by the Territory2AssociationManual value.
|
| 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.
- This is a polymorphic relationship field.
- Relationship Name
- UserOrGroup
- Relationship Type
- Lookup
- Refers To
- Group, User
|