Have a look at page 113 of this TR:
https://www.netapp.com/us/media/tr-4835.pdf
That lets you get permissions from ONTAP for files and folders. But it's per file or folder; not for all files at once.
For all files/folders, you'd want to use icacls or some other tool to script and query files, or find a 3rd party tool that can do that for you.