Need helpcreating a script to read the name of a folder and adding that name into the permissions of that folder

Need help creating a script to read the name of a folder (which is the AD Username) and adding that name into the permissions of that folder.
I have over 100 folders which I need to add the AD user to read and write to their own folder
Hope you guys understand what I mean

Just to add, Mac in intergrated into AD and all I need is help in creating the script
Thanks

Similar Messages

Maybe you are looking for