The forums are represented by the Telerik.Sitefinity.Forums.Model.Forum class. It exposes the following specific properties:
Specifies whether the users are allowed to add attachments to their posts. For more information, read the Posts section.
Gets or sets the role that the user must be in in order to add attachments. For more information, read the Roles section.
Gets or sets the group that the forum belongs to.
Gets or sets the date of the last post in the forum.
Gets or sets the ID of the last post that has been submitted in the forum.
Gets or sets the ID of the last user that has posted in the forum.
Gets or sets the username of the last user that has posted in the forum.
Gets or sets the ID of the last thread that has been added to the forum.
Gets or sets the ordinal of the forum. The ordinal is used to order the forums in the UI.
Gets or sets the count of the posts in the forum.
Gets or sets the count of the threads in the forum.
Gets or sets the title of the forum.
Each forum can be associated with a documents library. The library is created upon the first request for it. For more information, see Getting the forum library.
The library is used to store the attachments of the posts submitted in the forum. It is of type DocumentLibrary and you can store any types of files in it.
The difference between this library and a manually created library is that the forum library uses a download security provider of type AttachmentDownloadSecurityProvider. This provider uses the forums security instead the default libraries security, to determine whether the attachment can be downloaded.
Under this article you can find the following examples: