---
schema_version: "1"
id: 86c7a4be527001967367a6456472c29e063b7750583128a8d36f6e9f4f61d8d5
title: SharingRecordCollection
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_sharingrecordcollection.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_sharingrecordcollection.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 142dcaea3c26b39fb95a443abe4c956c4b10569e7aac53103203c4dda1f45d6d
description: Represents a collection of records. This object is available in API version 51.0 and later.
---
# SharingRecordCollection

Represents a collection of records. This object is available in API version 51.0 and later.

## Supported Calls

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

Record collections are limited to 100 items and 100 members for each record collection.

## Fields

| Field | Details |
| --- | --- |
| Description | 
Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The description of the record collection.



 |
| GroupId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The group ID of the record collection.



 |
| LastAdded | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when an item was last added to the record collection.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last accessed this record, a record related to this record, or a list view.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last viewed this record or list view. If this value is null, the user might have only accessed this record or list view (LastReferencedDate) but not viewed it.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of the record collection.



 |
| NumberOfRecords | 

Type

int

Properties

Defaulted on create, Filter, Group, Nillable, Sort

Description

The number of records in the record collection. The limit is 100.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

The ID of the record collection owner.



 |