Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IDiscussionManager.UnsubscribeUsers Method 

Unsubscribe users of the given ids from a discussion, including all the posts within the discussion.

void UnsubscribeUsers(
   IDiscussion discussion,
   int[] userIDs
);

Parameters

discussion
The discussion to unsubcribe users from.
userIDs
The ids of the users to unsubscribe; cannot be null; all IDs must be positive.

Remarks

Invalid non-negative ids or ids that do not described subscribed users will be ignored.

Exceptions

Exception Type Condition
InvalidOperationException The discussion has not yet been stored or has already been removed.
CollaborationException It the method resulted in an error.
ArgumentException Any of the userIDs is not > 0.
SoapException There is a communication problem during the execution of the remote method call.

See Also

IDiscussionManager Interface | Plumtree.Remote.PRC.Collaboration.Discussion Namespace