I am developing an application in C#. The goal is to get the permissions on a given file in the file system.
This would include inherited permissions and permissions directly assigned to the file.
I want to get AD groups
, local groups
and domain users
and local users
who have been assigned Read, Write, Read & Execute, List Folder Contents, Modify and Full Control
on a given file.
I am not sure how to get the above for a given file. Any ideas ?