Newer Version Available

This content describes an older version of this product. View Latest

AccountTeamMember

Represents a User who is a member of an Account team. See also UserAccountTeamMember, which represents a User who is on the default account team of another user.

Supported Calls

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

Special Access Rules

  • This object is available only for Enterprise, Unlimited, and Performance Edition users who have enabled the account team functionality.
  • Customer Portal users can't access this object.

Fields

Field Name Details
AccountAccessLevel
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
Level of access that the User or Group has to the Account. The possible values are:
  • None
  • Read
  • Edit
  • All
This field must be set to an access level that is at least equal to the organization’s default Account access level. In addition, the AccountAccountAccessLevel, OpportunityAccessLevel, or CaseAccessLevel field must be set higher than the organization’s default access level.
AccountId
Type
reference
Properties
Create, Filter, Group, Sort
Description
Required. ID of the Account to which this user is a team member. Must be a valid account ID.
IsDeleted
Type
boolean
Properties
Defaulted on create, Filter
Description
Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is Deleted.

Any AccountTeamMember record that is deleted is not moved to the Recycle Bin, and cannot be undeleted, unless the record was cascade-deleted when deleting a related Account. For directly deleted AccountTeamMember records, don’t use the isDeleted field to detect deleted records in SOQL queries or queryAll() calls. Instead, use getDeleted().

Note

TeamMemberRole
Type
picklist
Properties
Create, Filter, Nillable, Update
Description
Role associated with this team member. One of the valid team member roles defined for your organization. Label is Team Role.
UserId
Type
reference
Properties
Create, Filter
Description
Required. ID of the User who is a member of this account team. Must be a valid User ID.

Usage

Use this object to manage the team members of a particular Account and to specify team member roles for those users on that account.