New answers tagged

2

public override void ItemAdded(SPItemEventProperties properties) { base.ItemAdded(properties); string title = properties.List.Title; if (title == "List Name") { SPListItem item = properties.ListItem; try { SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new ...



Top 50 recent answers are included