Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pull username from Windows Logon
Message
From
15/02/2005 13:57:08
 
 
To
15/02/2005 13:26:42
Xiaodong Yan
Better Database Solutions
Spring, Texas, United States
General information
Forum:
Internet
Category:
Other
Miscellaneous
Thread ID:
00987142
Message ID:
00987155
Views:
24
>Hi,
>
>We have set up handful mini-web pages for our customers only. Users have to logon through a Windows Logon screen, via Internet secured port.
>
>On the first web page, we have a welcome message, say "Welcome to ...".
>
>How do I customize the message on the 1st page based on username, such as "Welcome, " + ? For example, if Bob logged on, the message would say, "Welcome, Bob!".
>
>Thanks,
>~Sheldon


This is performed on the Client-side.
      <script language="JScript">
         var WshNetwork = WScript.CreateObject("WScript.Network");
         document.Echo("Welcome, " + WshNetwork.UserName);
      </script>
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform