Is there an easy way to update the Owner or Owner Group with Web Services?
Here is the gist of what you want to do:
NodeRight newOwnerRight = new NodeRight(); newOwnerRight.Type = "Owner"; // The ID of the new Owner newOwnerRight.RightID = user.ID; // Set this to a NodePermissions object with the desired permissions newOwnerRight.Permissions = SetOwnerPermissions(); DocManServiceInstance.UpdateNodeRight(node.ID, newOwnerRight); Hope this helps. Jason
Thanks!
-Doug
From: eLink Entry: Content Web Services Forum [mailto:otdncontentwebservices971forum@elinkkc.opentext.com] Sent: Wednesday, February 09, 2011 11:06 AMTo: eLink RecipientSubject: How to update Owner or Owner Group with Web Services
How to update Owner or Owner Group with Web Services
Posted by jsmith (Smith, Jason) On 2011/02/09 11:05
NodeRight newOwnerRight = new NodeRight();newOwnerRight.Type = "Owner";// The ID of the new OwnernewOwnerRight.RightID = user.ID;// Set this to a NodePermissions object with the desired permissionsnewOwnerRight.Permissions = SetOwnerPermissions(); DocManServiceInstance.UpdateNodeRight(node.ID, newOwnerRight);Hope this helps.Jason
[To post a comment, use the normal reply function]
Topic:
Forum:
Content Web Services Forum
Livelink Server:
knowledge-wlweb01