Hello all,
I have Sharepoint Foundation 2013 environment. I have a document library with personal documents of all employees named as per their employee id. These documents are stored and tagged with other emp information.
Now I need to apply item level permissions on each item/doc so that the logged-in user see only his document.
I know this can be done easily for the new documents that are uploaded by users. but question is of existing data.
I somehow need to traverse each document -> get the id -> search it in AD & get the name -> set permission for that user to that document.
As User Profile Service is unavailable in SP Foundation, I am thinking how to achieve this.
Kindly suggest if anyone has any suggestions. Thanks.
Regards, Nayan