Monday, April 26, 2010

InfoPath - Get the current user without writing code

Recently I started working on InfoPath forms in Moss2007. One common item that is needed on each of the forms is the current user. I came accross a method of getting the current user in InfoPath 2007 via the UserProfileService web service. Below is a really good article that provides a step by step example.

http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx

1 comments:

Bryan K Geiger said...

If you want to promote the a field to a "Person" in a SharePoint list then you must assign a workflow to promote the value. Seems a little much but this is the only work around I have found some far:

http://blogs.mosshosting.com/archive/2009/02/05/sharepoint-tiptrick-promote-an-infopath-field-to-a-sharepoint-person-field.aspx

Post a Comment