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

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

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

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!