Export Folder Permission to File

I'm not sure if this is the correct group to ask this question as I'm sure the answer is somewhere in API, but here goes.

Has anyone found a way to Export all group and user permissions to an external file?  I know that import/export vault setting will not bring folder permissions with it.  My thought is that if I can get this out into a XML, CVS or TXT file this will give us a "road map" to know what the permission are if we are to lose the vault.  I do have limited API experience but I am not sure how to approach this.  I'm hoping that there is some feature that I am not aware of already in the software.

We are using EPDM 2014, SP 4.0.

Thanks!

Matthew

SolidworksSolidworks Pdm enterprise Pdm