Arbortext Command Language > Repository API > dobj_construct
  
dobj_construct
dobj_construct (logicalid.,doc[, reserved[, ud]])
Creates an ACL document object handle for the existing document object indicated by logicalid. The dobj_close function must be called to close the document object after it has been processed.
This function uses the following parameters:
logicalid — unique identifier for an object
doc — document used for context information; required even when you are constructing a document object handle for a folder
reserved — for internal use only
ud — can be used to pass user defined information to a callback; strings must match the adapter encoding. Refer to Repository API Callback functions for more information on using callbacks with the Repository API functions.
The following integers are returned:
0 — operation failed
A docobj is returned if the function succeeds.
Related Topics
Repository API callback functions