Web Service - User Profile By Name


  • I'm using an InfoPath form that calls the SharePoint Web Service UserProfileService.asmx to retrieve the current user information.  Does anyone know why when I run the form I receive an error that states I cannot leave the AccountName value empty or null?  If I do use a value the form only uses that value I entered and does not retrieve the current user opening the form. 


    Unfortunately, most of my departmetn that is using this form are running Office 2003 so I have to use features that would be available to them.  I know 2007 has a UserName() function but it is not compatible with 2003. 


    I'm at my wits end here so any help would be appreciated!



    Tuesday, August 28, 2007 3:02 PM