AccountOwnerSharingRule

Represents the rules for sharing an account with a User other than the owner.

Note
Contact salesforce.com customer support to enable access to this object for your organization.

Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()

Special Access Rules

Customer Portal users can't access this object.

Fields

Field Details
AccountAccessLevel
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Update
Description
A value that represents the type of sharing being allowed. The possible values are:
  • Read
  • Edit
  • All (This value isn’t valid for creating or updating.)
CaseAccessLevel
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
A value that represents the type of access granted to the target Group for all child cases. The possible values are:
  • None
  • Read
  • Edit
ContactAccessLevel
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
A value that represents the type of access granted to the target Group, UserRole, or User for any associated contacts. The possible values are:
  • None
  • Read
  • Edit
Note
When DefaultContactAccess is set to Controlled by Parent, you can’t create or update this field.
DeveloperName
Type
string
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your organization. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object's name in a managed package and the changes are reflected in a subscriber's organization. Label is API Name.
GroupId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID representing the source group. An Account owned by a User in the source Group triggers the rule to give access.
OpportunityAccessLevel
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
A value that represents the type of access granted to the target Group for any associated Opportunity. The possible values are:
  • None
  • Read
  • Edit
Name
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
Label of the sharing rule as it appears in the user interface. Limited to 255 characters. Label is Rule Name.
UserOrGroupId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID representing the User or Group being granted access.

Usage

Use this object to manage the sharing rules for a particular object. General sharing and territory management-related sharing use this object.

© Copyright 2000–2012 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.