Click here to Skip to main content
15,301,841 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
My Requirement:

I need to get the details of a user(his email ID,empno,etc) who adds an item to a list from user profile.when the item is added to the sharepoint list I need to put a entry in DB and send a mail to the user who adds an item to the list.Is it possible in MOSS 2007 by event receiver?If so,just guide me how to do that....Thanks in advance :)....provide me some useful links also...
Posted

You can use either ItemAdding or ItemAdded event on the list and look at the created by or modified by property of the ListItem.

To access profile information use UserProfileManager Class[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900