Jump to content

lee.sydenham@bllaw.co.uk

Members
  • Posts

    2
  • Joined

  • Last visited

lee.sydenham@bllaw.co.uk's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. OK, sorry I did not explain myself better.Some sample data is:<RootFolder> <Folder name="C:\TestFolder1"> <Permissions> <Acl>Administrators:FullControl</Acl> <Acl>Users:Modify</Acl> </Permissions> <Folder name="C:\TestFolder1\SubFolder1"> <Permissions> <Acl>Administrators:FullControl</Acl> <Acl>Users:Modify</Acl> ... </Permissions> <Folder name="C:\TestFolder1\SubFolder1\2ndLevel1"> <Permissions> <Acl>Administrators:FullControl</Acl> <Acl>SpecificGroup:FullControl</Acl) </Permissions> </Folder> ... </Folder> <Folder name="C:\TestFolder1\SubFolder2"> ... </Folder> ... </Folder></RootFolder>From above, SubFolder1 and SubFolder2 have the same set of permissions as their parent, C:\TestFolder1 so I am not interested in output here. I am interested in displaying folders that do not have the same permissions as their parent, as in "C:\TestFolder1\SubFolder1\2ndLevel1", in which Users have been removed and permissions granted to a specific groupI hope that this clarifies what I am trying to achieve. I generally use VBScript for my scripting (simple SysAdmin scripting) but not sure XML-wise and am open to suggestions.Thanks,Lee.
  2. I am a Systems Administrator and am new to XML so looking for some assistance if possible please.The problem I am trying to solve is with folder permissions in file structures.I have written a small script which will loop through a folder structure and create an xml file containing all folder names in the tree and the permissions assigned to each, e.g:<RootFolder> <Folder name=""> <Permissions> <Acl></Acl> <Acl></Acl> ... </Permissions> <Folder name=""> <Permissions> <Acl></Acl> <Acl></Acl> ... </Permissions> <Folder name=""> </Folder> ... </Folder> <Folder name=""> ... </Folder> ... </Folder></RootFolder>Given this XML I would like to construct a query to display the folder name if the permissions of a folder are different to the permissions of its parent. Can anyone advise if this is possible and how I might go about doing it?Thanks,Lee.
×
×
  • Create New...