---
schema_version: "1"
id: 292741c9122a3d78e7ff5cda44706eeddf23f383a775532154f40dea9b9bd4b6
title: ConnectApi.OriginCapability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_origin_capability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_origin_capability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2f74cf85df8b7d0301102d525bbf0052863188cb331209c84afb47890a147221
description: If a feed element has this capability, it was created by a feed action.
---
# ConnectApi.OriginCapability

If a feed element has this capability, it was created by a feed action.

Subclass of [ConnectApi.FeedElementCapability](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capability.htm "A feed element capability, which defines the characteristics of a feed element.").

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| actor | [ConnectApi.UserSummary](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_user_summary.htm#apex_connectapi_output_user_summary "User summary.") | The user who executed the feed action. | 33.0 |
| originRecord | [ConnectApi.Reference](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_reference.htm#apex_connectapi_output_reference "Reference to a record.") | A reference to the feed element containing the feed action. | 33.0 |

#### See Also

- [ConnectApi.FeedElementCapabilities](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capabilities.htm "A container for all capabilities that can be included with a feed element.")