I am new to scripting, but trying to execute the following code on a newly created BSP:
< form name="form1" method="POST">
<input type="text" name="user">
< script language="vbScript">
Set ows = CreateObject("WSCRIPT.Network")
uname = ows.UserName
document.form1.user.value = uname
But the page give me the following error:
ActiveX component can't create object: 'WSCRIPT.Network'
Basically, I want to get window logon userid. Is there a way to do that? Either through BSP or Webdynpro??
Thanks in advance,