Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IDocumentManager.SubscribeUsers Method (IDocument, Int32[])

Subscribe users of the given IDs to the given document.

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

Parameters

document
The document to subcribe users to. Cannot be null.
userIDs

Remarks

The calling user must have Admin access to the project containing this document, and the users to be subscribed have to have at least Read access to the document. The call will make a best attempt to subscribe all supplied users. A MultipleObjectException will be thrown specifying the IDs that failed to be subscribed.

Exceptions

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

See Also

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