1

I have a document library with 200 folders and 200 Documents in the library (one file in each folder).

I would like to share each folder with an individual in my company, so that other can not see the one individuals record / folder in any way.

I know that i can do that manually using the share option on each folder in the library but, I am looking for some automation way to do that.

I have full control over the site, but i am not an central administrator. but, I can share the files/folders manually.

can some one suggest me with the above permissions can i automate the document sharing in SharePoint ? and also, please provide me the code as well if you have.

Thank you so much for the help :)

1
  1. Add People/Group Column to your library
  2. While adding documents or folder add person who needs to access that particular folder/document
  3. Write a workflow on Document library to impersonate permission of every item using people/group column

This may help you to automate the document sharing.

Also you can use Power shell script instead of workflow.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.