You seem to want to audit each users personal documents
first you’ll need all the users
SELECT SI_CUID, SI_NAME FROM CI_SYSTEMOBJECTS WHERE SI_KIND = ‘User’
Then you’ll have to go through each user and get their folders, and the documents within each folder.
HOWEVER, for a given DeskI report - information is not stored in the CMS about the dataproviders within the document.
If you want to know that, you’ll have to open each document with the SDK and interrogate it, then save the information off to your own database table/text file.