InfoPath credentials

A

Andrew

Does anyone know if there is a way to get the credentials that InfoPath is
running as? I have C# code behind and need to be able to get information
from a webservice. I cannot always use DefaultCredentials since the user may
not be on the domain. I know I could use a prompt for the user to type their
credentials in but that means if they are off the domain they would have to
type in their credentials twice. First time when InfoPath opens the form and
Second when I need to call the webservice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top