---
schema_version: "1"
id: ebf9aa08c22c468ecceda98b94f3703c70b1843e871f85e58eaf70eb1892a518
title: LicenseDefinitionCustomPermission
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_licensedefinitioncustompermission.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_licensedefinitioncustompermission.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 80199d4c68a51cbb7ae6cadddbd6db42b324090ce33ee8852263ce6b37732683
description: Represents a licensed custom permission that controls access to a license's features when included in a custom permission set license definition. This object is available in API version 66.0 and later.
---
# LicenseDefinitionCustomPermission

Represents a licensed custom permission that controls access to a license's features when included in a custom permission set license definition. This object is available in API version 66.0 and later.

## Supported Calls

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

## Fields

| Field | Details |
| --- | --- |
| CreatedById | 
Type

reference

Properties

Defaulted on create, Filter

Description

ID of the [User](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_objects_user.htm "HTML (New Window)") who created this record.



 |
| CreatedDate | 

Type

dateTime

Properties

Defaulted on create, Filter

Description

Date and time when this record was created.



 |
| Id | 

Type

id

Properties

Create, Filter, Group, Sort, Update

Description

Unique record ID.



 |
| IsDeleted | 

Type

boolean

Properties

Create, Filter, Group, Sort, Update

Description

When true, the record has been deleted.



 |
| LastModifiedById | 

Type

reference

Properties

Defaulted on create, Filter

Description

ID of the [User](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_objects_user.htm "HTML (New Window)") who last updated this record.



 |
| LastModifiedDate | 

Type

dateTime

Properties

Defaulted on create, filter

Description

Date and time when a user last modified this record.



 |
| LicenseDefinitionId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

ID of the custom permission set license definition that contains the licensed custom permission.

This is a relationship field.

Relationship Name

LicenseDefinition

Relationship Type

Lookup

Refers To

PermissionSetLicenseDefinition



 |
| LicensedCustomPermissionId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

ID of the licensed custom permission that you're including in the permission set license definition. On the [CustomPermission](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_custompermission.htm "Represents a permission created to control access to a custom process or app, such as sending email. This object is available in API version 31.0 and later.") object, the isLicensed field must equal true.

This is a relationship field.

Relationship Name

LicensedCustomPermission

Relationship Type

Lookup

Refers To

CustomPermission



 |
| SystemModstamp | 

Type

dateTime

Properties

Defaulted on create, filter

Description

In general, SystemModstamp shows the date and time when a user or automated process last modified the record. However, in certain cases, SystemModstamp doesn’t capture every field change. For example, if object A retrieves values from object B, then the changes to field values in records on object B are reflected in the SystemModstamp field for records on object B, but not on object A.



 |