Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Modify Owner of Object by LAPI
ImvecUser1_(Delete)_2148388
I tried to to modify the owner of object by updateversioninfo and here is the code status = LL_GetVersionInfo(session, parentVol, NodeID, 0, VersionInfo) status = LL_AssocSetInteger(VersionInfo, "Owner", newowner) status = LL_UpdateVersionInfo(session, parentVol, NodeID, 0, VersionInfo) the Owner of the object has not changed even it return status = LL_OK However, if i have use status = LL_GetObjectInfo(session, parentVol, NodeID, objectInfo) status = LL_AssocSetInteger(objectInfo, "UserID", newowner) status = LL_UpdateObjectInfo(session, parentVol, NodeID, objectInfo) the owner of the object changed succefully. So, should I use updateobjectinfo? Or is there any other method to modify the owner of the object? However, as stated in the dvelopment doc, the owner can not be changed by updateObjectInfo.
Find more posts tagged with
Comments
There are no comments yet