You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Content Namespace > Classes > ThreadedDiscussion Class > ThreadedDiscussion Methods > SubscribeToForum
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ThreadedDiscussion.SubscribeToForum Method

Subscribe a user to a forum by providing the ID of the forum, the user's ID and the type of subscription.

C#
public ObjectWatch SubscribeToForum(Long ForumID, Long ForUserID, EkEnumeration.NotificationType WatchType);
Visual Basic
Public Function SubscribeToForum(ByVal ForumID As Long, ByVal ForUserID As Long, ByVal WatchType As EkEnumeration.NotificationType) As ObjectWatch
Parameters 
Description 
ForumID 
Numeric ID of the forum to subscribe to. 
ForUserID 
Numeric ID of the user subscribing. 
WatchType 
Type of subscription. Choices are:
  • All - subscribes a user to all forum items.
  • Replies - subscribes a user to all replies to his posts in the specified forum.
  • Never - unsubscribes a user from the forum.
 

Object watch of the current subscription status.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!