API call to get who has a document checked out

I see the api calls for checking if a document is checkedout and if the document is checked out to you. but how do I find out who has it checked out, like the name or whatever is listed in the Out To column?


JD

Parents Reply
  • John,

    aaApi_SelectLocationsByProp()
    might be a better choice as you can specify the document's projectId, documentId, and Check out Location Type and then check the return value (errors or no matching records).  If the return value is greater than 0, then you can get the userid from the chkl buffer and look up the user's properties with something like aaApi_SelectUser() (and then check the return value for errors, etc. and then get the properties from the user buffer).

    Answer Verified By: Brian Flaherty 

Children