---
schema_version: "1"
id: c84d71dcc99b552e697c4da78878a45974f4d21ae21846273b5bad653b42f39f
title: TeamMember
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/sforce_api_objects_teammember.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_teammember.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7a603d56f254444985445cb693a7861758e4d932015b1d28b53c265d7e1168b7
description: Represents the member associated with a team. This object is available in API version 58.0 and later.
---
# TeamMember

Represents the member associated with a team. This object is available in API version 58.0 and later.

## Supported Calls

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

## Fields

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user referenced the record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user viewed the record.

### MemberId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: This field represents the user that's part of the team.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Member
- **Relationship Type**: Lookup
- **Refers To**: Account, Contact, User

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The name of the team member.

### RoleId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Represents the role associated with the member.
    
    This field is a relationship field.
- **Relationship Name**: Role
- **Relationship Type**: Lookup
- **Refers To**: ParticipantRole

### TeamId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: This field represents the team that's associated with the member.
    
    This field is a relationship field.
- **Relationship Name**: Team
- **Relationship Type**: Master-Detail
- **Refers To**: Team

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[TeamMemberChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_change_event.htm "A StandardObjectNameChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 60.0)

Change events are available for the object.

[TeamMemberFeed](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[TeamMemberHistory](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.