I have a big trouble. I need to get the username but i can't create an activexobject.
the message error that infopath send me is "Automation server can't create the object"
the code that i'm using is:
function XDocument::OnLoad(eventObj)
{
var objNetwork = new ActiveXObject("WScript.network");
}
Any sugestion?