CC
-
11/27/2011 6:31:06 PM
NodeOwner vs DocumentCreatedByUserID and setting through API
I have the situation where one user is creating a document that a different user will own, or the ownership of existing documents is transferred from one user to another. I was hoping to use the NodeOwner or DocumentCreatedByUserID, but I do not see how I can set this value through the API.
Example 1: Node1 (owned by user A) -- Node2 (created by user B, owned by user A)
Example 2: Node1 (owned by user A) -- Node2 (owned by user A) transfer ownership from user A to user B, so that Node1 (owned by user B) -- Node2 (owned by user B)
I am using custom document types for Node1 and Node2, so I can create my own "owner" field if I need to, but I'd prefer to use the existing fields if possible. Any suggestions are appreciated.
|