---
schema_version: "1"
id: 439b6de95fd46303efa5c5bfda2e5b9f4f081e6cb9e8a0608e196b45105a39bb
title: DataIntegrationRecordPurchasePermission
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_dataintegrationrecordpurchasepermission.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_dataintegrationrecordpurchasepermission.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 58ea40157f91f19d47069f1d8d8ace8754882d72ac67e727f5a7288fa98f719c
description: Indicates Lightning Data purchase credits that a Salesforce admin has granted to users.
---
# DataIntegrationRecordPurchasePermission

Indicates Lightning Data purchase credits that a Salesforce admin has granted to users.

This object is available in API versions 42.0 and later.

## Supported Calls

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

## Special Access Rules

As of Spring ’20 and later, only your Salesforce org's internal users can access this object.

## Fields

| Field Name | Details |
| --- | --- |
| ExternalObject | 
Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

Indicates the name of the data service record matched to the Salesforce record.



 |
| UserId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

Indicates the ID of a user to whom purchase credits are assigned.

This is a relationship field.

Relationship Name

User

Relationship Type

Lookup

Refers To

User



 |
| **UserRecordPurchaseLimit** | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Represents the number of purchase credits assigned to a user.



 |