Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

get folder security and if it's set using security groups, list the members

$
0
0

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


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>