AnsweredAssumed Answered

Get lock owner of a checked-out file

Question asked by sakshik on Apr 3, 2019
Latest reply on Apr 4, 2019 by sakshik

I am writing a web script to get a list of all the checkout documents and user who has them checked out.


I can use this api to get a Boolean answer of whether a document is checked out or not;


var docNode = search.findNode("workspace://SpacesStore/"+alfid); = docNode.hasAspect("cm:workingcopy");

Now, I need to find the lock owner for this docNode, I tried this api but it doesn't return anything: =["cm:lockOwner"]

Any suggestions?