jsHeader: var f; function GetUserLogon(){ var objUser = new ActiveXObject("WScript.Network"); f.LogonID.value=objUser.UserName; f.ComputerName.value=objUser.ComputerName; //f.DomainName.value=objUser.DomainName; } onLOad: f = document._tmp; GetUserLogon(); _____________________ Note: As this script is "unsigned" and not "marked safe", this may fail in real-life use.