Setting List Item Permissions Programatically in WSS 3.0/MOSS 2007

[update: a quick review by one of our SDETs resulted in some good suggestions to make the code below more useable, and I’ve added them to the code below (1.  Using GetByType to return the Role Definition rather than specifying the name as a string, thereby working in localized versions other than en-us and 2.  checking for unique…

6