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 Answer 1

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.

2
  • Hi I am relatively new to the SharePoint workflows ,could you please suggest me some link on how to work with Library item level permissions through workflows? Or if you have some code that do please do suggest me.
    – Sukumar
    Commented Apr 4, 2016 at 11:52
  • To get Basics of Workflow go through this link: support.office.com/en-us/article/… For changing permissions using workflow: spcycle.blogspot.in/2012/01/… Commented Apr 4, 2016 at 11:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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