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(), describeLayout(), 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
Create, Filter, Group, Nillable, Sort, Update
Description
Level of access that the User has to the Account. The possible values are:
  • 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 users’s AccountAccessLevel, ContactAccessLevel, 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.
CaseAccessLevel
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Level of access that the User has to cases associated with the account. The possible values are:
  • None
  • Read
  • Edit
This field must be set to an access level that is at least equal to the organization’s default case access level. In addition, the users’s AccountAccessLevel, ContactAccessLevel, OpportunityAccessLevel, or CaseAccessLevel field must be set higher than the organization’s default access level. This field is available in API version 37.0 and later.
ContactAccessLevel
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Level of access that the User has to contacts associated with the account. The possible values are:
  • None
  • Read
  • Edit
This field must be set to an access level that is at least equal to the organization’s default contact access level. In addition, the users’s AccountAccessLevel, ContactAccessLevel, OpportunityAccessLevel, or CaseAccessLevel field must be set higher than the organization’s default access level. This field is available in API version 37.0 and later.
CurrencyIsoCode
Type
picklist
Properties
Filter, Restricted picklist
Description
Available only for orgs with the multicurrency feature enabled. Contains the ISO code for any currency allowed by the org.
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.

An AccountTeamMember record that is deleted is not moved to the Recycle Bin. A deleted AccountTeamMember record can’t 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

OpportunityAccessLevel
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Level of access that the User has to opportunities associated with the account. The possible values are:
  • None
  • Read
  • Edit
This field must be set to an access level that is at least equal to the organization’s default opportunity access level. In addition, the users’s AccountAccessLevel, ContactAccessLevel, OpportunityAccessLevel, or CaseAccessLevel field must be set higher than the organization’s default access level. This field is available in API version 37.0 and later.
PhotoURL
Type
URL
Properties
Filter, Nillable, Sort, Group
Description
Read only. Retrieves the users Chatter photo URL. This field is available in API version 37.0 and later.
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.
Title
Type
string
Properties
Filter, Nillable, Sort, Group
Description
Read only. Retrieves the user’s title. This field is available in API version 37.0 and later.
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.

Behavior differs when an account owner adds a team member whose access is based on group sharing. If the account owner is changed, the team member with group-based access is removed from the team, even if the Keep account team option is selected.