Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

IDocumentManager.SubscribeUsers Method (IDocument, Int32[])

Subscribes users with 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 must 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 was a communication problem during the execution of the remote method call.
MultipleObjectException One or more of the users specifiedcannot be subscribed.
CollaborationException The method call resulted in an error.

See Also

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