Lock forum threads

To lock or unlock thread, you must perform the following:

  1. Get an instance of the manager.
    Get instance of the ForumsManager object.
  2. Modify the thread.
    Change the value of the IsLocked property of the thread. For more information, see For developers: Modify forum threads.

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?