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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to obtain a User's id? 1

Status
Not open for further replies.
Apr 6, 2004
33
US
Hello,
I was wondering if there was a way to get a user's network id. Not the PC login name but the actual network one. On this program I am doing when I install the program on Win98 users they have no login name and the program bombs, It works fine with Win 2000 though.

Thanks
Tim
 
You can use the Environ function:
strUser = Environ("UserName")

There is also WorkStation and a few other handy Environs

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top