From: Joachim L. <lu...@ho...> - 2001-07-10 23:12:14
|
At 2001-07-11 01:13, you wrote: >I can write ActiveX's and I know how to get the username but I can't >understand how to pass it to JS. >Anyone have reference material on that. If you want the WinAPI function it >is (DUH) >GetUserName(Result : pChar, cMaxLength : Cardinal); >(Delphi All The Way ;-)) >8an Hmmm... Let the ActiveX (or Java if doing it from there instead) do a HTTP GET from the server seems to be easiest (for example http://intraweb.company.com/app/usedby.cgi?uname=username ). That wouldn't let the client side know who the user is though (!) but I gather that wasn't the original problem. /Lunna |