Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Windows login name

I have used it in the past but can't remember it now. It's a simple line of code(really...just one line) that returns the windows login name of the current user. I have banged my head against the wall for hours now. I can't find it in google or MSDN. Please help remind me.
[288 byte] By [Mr.Hanage] at [2007-11-11 8:19:01]
# 1 Re: Windows login name
environ("USERNAME")
mstraf at 2007-11-11 17:25:36 >
# 2 Re: Windows login name
What did you Google on? This query returns numerous examples: http://www.google.com/search?q=vb+get+user+name
Phil Weber at 2007-11-11 17:26:36 >