---
schema_version: "1"
id: 001cacd3cbb5e9eec35e251fa111c98d35aa58bae0576bf9ed5d282ebac06b46
title: TopicUserEvent
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_topicuserevent.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_topicuserevent.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: cf26c0e020743fc73e2346e3cb63482118781f76cca972aeec20e0a645523c04
description: Represents an action (such as comment, post, like, or share) made by a user on a topic. This object is available in API version 42.0 and later.
---
# TopicUserEvent

Represents an action (such as comment, post, like, or share) made by a user on a topic. This object is available in API version 42.0 and later.

## Supported Calls

delete(), describeSObjects(), query(), retrieve()

## Special Access Rules

Only users with the Modify All Data permission can view and delete these data.

## Fields

| Field | Details |
| --- | --- |
| ActionEnum | 
Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The action taken by a user on a topic. The possible values are:

- LIKE
- COMMENT
- POST
- ASSIGN
- SHARE
- FAVORITE
- UNFAVORITE
- AT\_MENTION
- BANG\_MENTION
- COMMENT\_LIKE
- USER\_ENDORSEMENT
- SKILL\_PEER\_ENDORSEMENT
- SKILL\_SELF\_ENDORSEMENT
- BEST\_ANSWER





 |
| NetworkId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

ID of the Experience Cloud site where the action was performed.



 |
| TopicId | 

Type

reference

Properties

Filter, Group, Sort

Description

Identifier of the topic.



 |
| UserId | 

Type

reference

Properties

Filter, Group, Sort

Description

Unique Salesforce user ID.



 |

## Usage

Use the TopicUserEvent object to delete topic-related activities by Experience Cloud site users who would like all their topic-related activities to be removed from a site.