A method of the Lists class that adds, deletes, or updates the specified items in a list on the current site.

learn more… | top users | synonyms

9
votes
3answers
6k views

AllowUnsafeUpdates vs SPSecurity.RunWithElevatedPrivileges

When is the best time to web.AllowUnsafeUpdates vs SPSecurity.RunWithElevatedPrivileges? Specifically when dealing with updating an item in a list or updating the list itself. Is it safest to use ...
1
vote
1answer
3k views

Updating Sharepoint List items

I got a custom Sharepoint list which has the following list items Hostname - IP - OS - CPUs - RAM - Disk Server 1.1.1.1 Server 2003 3 8 Disk C: 20gb If i then ...