---
schema_version: "1"
id: 8a64600488028ca764e373cd35cc4728e2742650046c19ed0cfc6d98ffb93b20
title: LearningItemAssignment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_learningitemassignment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_learningitemassignment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d01e2af2b9c18a422a1461da567cdbe14482907344cceb56ad38ef4f26a4c3ed
description: Represents the assignment of a Learning Paths entry to users or groups or the enrollment of an Enablement program for a specific user. This object is available in API version 58.0 and later.
---
# LearningItemAssignment

Represents the assignment of a Learning Paths entry to users or groups or the enrollment of an Enablement program for a specific user. This object is available in API version 58.0 and later.

## Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Special Access Rules

- For Enablement admins to create, update, and delete Enablement programs, the Design and Deliver Enablement Programs permission is required. This permission is enabled by default as part of the Manage Enablement Essentials permission set, which comes with the Enablement add-on license.
- For users who take Enablement programs, the Take Enablement Programs permission is required. This permission is enabled by default as part of the Use Enablement Programs permission set, which comes with the Enablement add-on license.
- For partner users who take Partner Enablement programs, the Take Partner Enablement Programs permission is required. This permission is enabled by default as part of the Use Partner Enablement Programs permission set, which comes with the Enablement add-on license. Partner Enablement also requires a [supported Partner Relationship Management (PRM) add-on license](https://help.salesforce.com/s/articleView?id=slack.prm_support_license_template.htm&type=5&language=en_US "HTML (New Window)").

## Fields

| Field | Details |
| --- | --- |
| AssigneeId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

The ID of the user or group assigned to the learning item. This field is a relationship field.

Relationship Name

Assignee

Relationship Type

Lookup

Refers To

User



 |
| AssignmentStatus | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The status of assigning an Enablement program to a user. Possible values are:

- Failed
- InProgress
- Succeeded





 |
| DueDate | 

Type

date

Properties

Filter, Group, Nillable, Sort

Description

The date that the assignment is due for the user or group.



 |
| EnrollmentType | 

Type

picklist

Properties

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

Description

The type of enrollment for a user in an Enablement program. Possible values are:

- Assigned
- SelfEnrolled





 |
| IsOverdue | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether the assigned learning item is overdue (true) or not (false). The default value is false.

This field is a calculated field.



 |
| LearningItemId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The ID of the learning item. This field is a relationship field.

Relationship Name

LearningItem

Relationship Type

Lookup

Refers To

LearningItem



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort

Description

ID of the user who assigned the learning item. This field is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |
| ProgressId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of record that represents a user's progress towards completing an assigned learning item, such as a Learning Paths entry or sales program. This field is a relationship field.

Relationship Name

Progress

Refers To

LearningItemProgress



 |
| StartDate | 

Type

date

Properties

Create, Filter, Group, Nillable, Sort

Description

The date that the learning item was assigned to the user or group.



 |

## Usage

You can assign a learning item to a user programmatically by querying the program and user, and then inserting a record into LearningItemAssignment.

## 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.

[LearningItemAssignmentOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.") (API version 60.0)

Sharing rules are available for the object.

[LearningItemAssignmentShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.") (API version 60.0)

Sharing is available for the object.