I'd like to create a list that contains the ACL's for a folder and sub folders. If the ACL's are set on a user, list the permissions for the user. If ACL's are set using a group, list the permissions for the group and then list the members. For example:
Path :\\node1\Common\Dir1
FileSystemRights : DeleteSubdirectoriesAndFiles, Modify, Synchronize
AccessControlType : Allow
IdentityReference : Domain\User name
Path :\\node1\Common\Dir1
FileSystemRights : DeleteSubdirectoriesAndFiles, Modify, Synchronize
AccessControlType : Allow
IdentityReference : Domain\Group name
Members: User1, User2...
Path :\\node1\Common\Dir1
FileSystemRights : DeleteSubdirectoriesAndFiles
AccessControlType : Allow
IdentityReference : Domain\User name2
Suggestions?
Thanks,
Roger