Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IDocumentManager.UnsubscribeUsers Method (IDocument, Int32[])

Unsubscribe users of the given IDs from a document.

void UnsubscribeUsers(
IDocument document,
int[] userIDs
);

#### Parameters

document
  The document from which to unsubcribe the users. Cannot be `null`.
userIDs

#### Remarks

Invalid IDs or IDs that do not describe subscribed users will be ignored.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The document has not yet been inserted or has already been removed.
CollaborationException | The method resulted in an error.
SoapException | There is a communication problem during the execution of the remote method call.

#### See Also

IDocumentManager Interface | Plumtree.Remote.PRC.Collaboration.Document Namespace | IDocumentManager.UnsubscribeUsers Overload List