How to check for a SharePoint folder in event receiver
Recently, I had to develop an event receiver that stopped users (who weren’t member of a certain SharePoint group) from adding, updating and deleting folders in a doc lib. Items could be edited, so I had to check if it’s a folder through the SpItemEventProperties. I used following code to check for a folder within…