Dans une WebForm, j'essaie de récupérer la variable d'environnement USERNAME
dans un contrôle TextBox, mais au lieu de récupérer mon nom (tdemoy), je
récupère la chaîne ASPNET.
txtUser.Value = Environ("USERNAME")
J'ai également essayé ceci mais c'est pareil :
Dim tmpVar As String
tmpVar = Microsoft.VisualBasic.Interaction.Environ("USERNAME")
txtUser.Value = tmpVar