Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to retrieve user's logon ID
Message
 
À
27/09/1999 11:07:26
Information générale
Forum:
Microsoft IIS Server
Catégorie:
Autre
Divers
Thread ID:
00269370
Message ID:
00269636
Vues:
19
>Our intranet uses NT authentication. I need to know the user ID of the person accessing a page. For example (this is not actually what I need to do but the idea is similar), suppose you wanted to print on the page: Welcome, [username]. Is there a property somewhere that you can read to get the name? (The user must have been authenticated to run the page script, so the user name must be stored somewhere...)
>
>It's OK to make this browser-dependent, since everyone in the organization uses IE4.

You can do this in ASP using "REQUEST.ServerVariables("LOGON_USER")" (sans quotes).

HTH

Hugo
"My get up and go must've got up and went"
-Steve Tyler, Aerosmith
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform