Mark forum posts as spam

To mark a post as spam, you must perform the following:

  1. Get an instance of the manager.
    Get instance of the ForumsManager object.
  2. Modify the post.
    Change the value of the IsMarkedSpam property of the post. For more information, see For developers: Modify forum posts.

Here is a code example:

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?