When attempting to retrieve User Profile Information within InfoPath 2013 using the User Profile Service Web Service (GetUserProfileByName) under Claims Based Authentication, I am getting the expected username being returned, but the remaining values(First Name, Last Name, Email) are associated with the account running the Secure Store Service ID.

I have been following this blog post to assist with the configuration User Profile Service with Claims Based Authentication

The rules have been configured as follows: enter image description here

This is the result when trying to create a new item: enter image description here

1 Answer 1



This works for me. The key is that you must set the parameter for the user name before the query runs. It the parameter is empty it will run as the service account. Ensure that your connection does not run by default (this is the checkbox in the wizard that is checked by default). You should run the query by rule after setting the user name.

Recheck Step 24 of Part 2.

  • You suggestion was the solution to my frustration
    – Jason
    Commented Nov 30, 2013 at 21:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.