C
craigster76
I am trying to obtain the network username when an InfoPath form loads, then
assign that username to a field in the form. I have tried many different
variations of examples that I have found, but none have worked. Below is the
code I am using in the "Sub XDocument_OnLoad(eventObj)" event:
XDocument.DOM.selectSingleNode("field2").Text = objNet.UserName
Any ideas on how to pass the value of the username from the script to a
field on the form?
Craig
assign that username to a field in the form. I have tried many different
variations of examples that I have found, but none have worked. Below is the
code I am using in the "Sub XDocument_OnLoad(eventObj)" event:
XDocument.DOM.selectSingleNode("field2").Text = objNet.UserName
Any ideas on how to pass the value of the username from the script to a
field on the form?
Craig