Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pull username from Windows Logon
Message
De
15/02/2005 13:57:08
 
 
À
15/02/2005 13:26:42
Xiaodong Yan
Better Database Solutions
Spring, Texas, États-Unis
Information générale
Forum:
Internet
Catégorie:
Autre
Divers
Thread ID:
00987142
Message ID:
00987155
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform