I am new to Livelink LAPI and would like to find out the following. Please help to advice and point me to where to locate information. Thanks! 
1. We are trying to locate distinct users who have uploaded documents that match a certain criteria to be ordered by the user that has the highest document matching accuracy taking into consideration the permissions that the user who is conducting the search can see.
Hence give that User A is searching for documents that contain “armour”. He will come across a user B who has upload 20 documents of which 5 documents match the search criteria. However User A has no access to 3 of the documents and hence based on the 2 remaining documents, each document has a match accuracy of 20% and 99% respectively.
What would be the best way to return the set of results (say top 100 users) that say that for the search keyword “armour”, User B has 2 documents with the highest match accuracy of 99% and so on. The results should be sorted by the match accuracy (the document count is not necessary). The document name, description, abstract etc is all not necessary.
2. Does Livelink have an API call that can generate a first page preview of a given document as an image. What we would like to do is to show the list of documents that matched the search criteria. Howevering over the link, we make a call to a livelink url that passes in the document link and we hope to retrieve back a rendered first page view of the document (provided that the current user has access to the document).