AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IDiscussionManager.UnsubscribeUsers Method

Unsubscribes users with 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 describe subscribed users will be ignored.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The discussion has not yet been stored or has already been removed.
CollaborationException | The method resulted in an error.
ArgumentException | One or more of the user IDs is not > 0.
SoapException | There was a communication problem during the execution of the remote method call.

#### See Also

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