0

I am using a SharePoint custom list. I need to restrict adding items to that list for all the users who is having access to the particular list.

As in, by the end of this year, all the users who has access to the list, should not be able to add items.

Can I set this automatically? Or what is the best way to handle this?

  • 2
    Yes you can do that by adding Event receiver to that list. In which you can apply your logic to block the entries. Read this MSDN Article. – Pradip R. Dec 23 '14 at 5:37
0

Timer Job should work in this case, you can set the Timer Job to run daily and check if the year has ended.. Or if it's relative to the List, than you can get the list and check when it was created and if particular days have passed..

If the condition is fulfilled, you need to Break the inheritance of the list.. Or if already broken, remove the permissions of all users from the list.

Once you remove the permissions, the users will not be able to add items to the list.. If you want them to view-only, give View-Only/Read permissions accordingly.

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.