Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IDocumentManager.SubscribeUsers Method (IDocumentFolder, Int32[])

Subscribe users of 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 have to 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 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