We are using Office 365. We would like a form to open up and show the current user and their department. I am able to pull the Current User by using the a data connection to the User Information List... xdUser:get-UserName(). Is there any way to get the Department of the current user?
We used to use be able to use GetUserProfileByName but this will not work with the claims based authentication that Office 365 uses. The fixes for this method are, I have to say, over my experience level. Is there no semi easy way to return a users department when opening up an InfoPath form?