Home
Extended ECM
API, SDK, REST and Web Services
Any lapi to get ownerID of a object
Richard_Ma_(mtrcadmin_-_(deleted))
Any lapi to get ownerID of a object ( already know object ID ) ?ThanksRichard
Find more posts tagged with
Comments
eLink User
Message from chris meyer via eLinkHi Richard,You can use the GetObjectInfo function that takes the parameters ofVolumeID, DataID, and objectInfo. The objectInfo assoc will contain theinformation you are looking for. If you do not know the VolumeID (as is thecase here since the VolumeID and the OwnerID is the same thing), you canjust pass in a value of 0. This is similar to using the DAPI.BY_DATAIDconstant in the DAPI.GetNodeByID() function.chris----- Original Message -----From: "eLink Discussion: LAPI Discussion" To: "eLink Recipient" Sent: Saturday, August 31, 2002 1:08 PMSubject: Any lapi to get ownerID of a object> Any lapi to get ownerID of a object> Posted by MTRCAdmin on 08/29/2002 10:32 PM>> Any lapi to get ownerID of a object ( already know object ID ) ?>> Thanks> Richard>> [To reply to this thread, use your normal e-mail reply function.]>> ============================================================>> Discussion: LAPI Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=765428&objAction=view>>
; Livelink Server:>
https://knowledge.opentext.com/knowledge/livelink.exe>>>
;
Richard_Ma_(mtrcadmin_-_(deleted))
Chris, I don't know OwnerID and VolumeID ( Only know ObjID ) how to use GetObjectInfo. I try to pass value 0, but not work.Richard
eLink User
Message from chris meyer via eLinkHi Richard, could you be more specific as to what didn't work? Here is acode snippet that demonstrates what I meant:LLValue objectInfo = new LLValue.setAssocNotSet();documents.GetObjectInfo(0, objID, objectInfo);int ownerId = objectInfo.toInteger("VolumeID");chris----- Original Message -----From: "eLink Discussion: LAPI Discussion" To: "eLink Recipient" Sent: Monday, September 02, 2002 3:12 AMSubject: How to use GetObjectInfo> How to use GetObjectInfo> Posted by MTRCAdmin on 09/01/2002 09:09 PM>> Chris,>> I don't know OwnerID and VolumeID ( Only know ObjID ) how to useGetObjectInfo. I try to pass value 0, but not work.>>> Richard>>> [To reply to this thread, use your normal e-mail reply function.]>> ============================================================>> Topic: Any lapi to get ownerID of a object>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=2831884&objAction=view>>
; Discussion: LAPI Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=765428&objAction=view>>
; Livelink Server:>
https://knowledge.opentext.com/knowledge/livelink.exe>>>
;