AccountShare
Controls access and sharing settings for Account records, defining who can view or edit them.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier for the account sharing record. | |
| AccountId | String | False |
Account.Id |
ID of the account being shared. |
| UserOrGroupId | String | False |
ID of the user or group the account is shared with. | |
| UserOrGroupIdType | String | False |
Specifies the type of the 'UserOrGroupId' polymorphic field to use in the statement. | |
| UserOrGroupIdExternalFieldName | String | False |
Specifies the external field name of the 'UserOrGroupId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement | |
| AccountAccessLevel | String | False |
Level of access granted to the account (such as Read or Edit). | |
| OpportunityAccessLevel | String | False |
Level of access granted to opportunities related to the account. | |
| CaseAccessLevel | String | False |
Level of access granted to cases related to the account. | |
| ContactAccessLevel | String | True |
Level of access granted to contacts related to the account. | |
| RowCause | String | False |
The reason or mechanism behind the account sharing, such as a sharing rule or manual sharing. | |
| LastModifiedById | String | True |
User.Id |
ID of the user who last modified this sharing record. |
| IsDeleted | Bool | True |
Indicates whether the sharing record has been deleted. | |
| SOQL | String | False |
Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | False |
Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | False |
Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| LastModifiedDate | Datetime | True |
Timestamp for when the sharing record was last modified. |