Hi
The setup:
-
InfoPath form in forms services.
-
WSS site using Forms Auth with a custom provider
-
Web service to expose user details
When my form loads I want to pre-populate some fields with the current user details. In the form load rules I query the web service and use the userName() to pass as the single parameter to the GetUserDetails() method.
If I preview in InfoPath the web service is passed the windows account I'm logged in with. When I debug this on the published form the user name parameter comes through as blank.
I'm sure this used to work a while ago. I'm not sure what might have changed but I'm thinking it's something to do with the authentication setup of WSS rather than the form.
Does Forms Services need to use the same auth provider as the site collection maybe?
Any ideas anyone?
Thanks