I have a welcome head
<h2>welcome</h2>
But I pretend get welcome to the NT logged user
this
<h2>Welcome <%response.write request.servervariables("LOGON_USER")%></h2>
gives me the DOMAIN\USER
how I can only show the user?
I don't want the domain appears in the text.
EDITED:
I edit this post to not create a new one. I try google but can't find any help I'm getting the correct NT-Logged user. However could I get the name of the nt-user... the corresponding one? Example: Mine NT-User is KFHM. but my name in windows is KikoFHM. At the moment I'm getting the KFHM but how to get the KikoFHM?
Wecolme<% dim username %>
Welcome <%= Split(Request.Servervariables("LOGON_USER") & "", "\")(1) %>
` – user692942 Oct 27 '15 at 14:29