Link to home
Start Free TrialLog in
Avatar of aqibsp82
aqibsp82

asked on

Prevent SP2010 list from adding new Items and Editing existing items.

Hi,
can anyone please tell me if there is a way to prevent SharePoint 2010 list from adding new Items and Editing existing items through program (probably in Schema file of list).
thanks
Avatar of Piotr Strycharz
Piotr Strycharz
Flag of Poland image

I think that the simplest solution is to change list security. Just remove contributor permissions (or change them to read).

The second possibility is:

- go to the advanced list settings
- in "Item-level Permissions" section select "None" in "Create and Edit access".

The latter solution does not work in document library.

 

Item-Level-Permissions.png
Avatar of aqibsp82
aqibsp82

ASKER

Thanks Pstry! but i want to do it programacally....
any idea??
ASKER CERTIFIED SOLUTION
Avatar of Piotr Strycharz
Piotr Strycharz
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks Pstry,
that helped :)