Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

IDocumentManager.SubscribeUsers Method (IDocumentFolder, Int32[])

Subscribes users with the given IDs to the given document folder and all documents in that folder.

void SubscribeUsers(
   IDocumentFolder documentFolder,
   int[] userIDs
);

Parameters

documentFolder
The document folder to subcribe users to; cannot be null.
userIDs

Remarks

The calling user must have Admin access to the project containing this document folder, and the users to be subscribed must have at least Read access to the document folder. 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 object 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 specified 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