I need to pre-populate a drop down list in a InfoPath form with values that are filtered based on current users username.
These values can be retrieved from a web service that accepts a username parameter.
Unfortunately when seeting this parameter's value from Data Connections wizard I can only type in the value and can't use userName() InfoPath function.
How can I set this value to current user?