In my Infopath 2007 forms in my SharePoint site I want to collect some information about the logged in user who opens the form, like first name, last name, department, manager etc.
I found this blogpost of Itay Shakury which helped me a lot.
If you receive security errors please read this post of Jingmei Li.


June 22nd, 2009 at 9:17 PM
I’m going through searches to see who is trying to leverage this ability and making sure they know there is a new blog entry that takes Itay’s codeless method for getting the current user information and extends it further for getting other user information, including that of the current user’s (or any user’s) Manager. Take a look if interested:
http://claytoncobb.wordpress.c.....-extended/