Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detecting network username ??? Help!!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How can I detect the network username with VBScript. I know it's possible with WSH. but I need to pass this data onto my application.
 
U are in VB aplication?
If so try this
set wn=Server.CreateObject("Wscript.Network")
msgbox wn.UserName
________
George, M
 
faq333-144
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top