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

How do I obtain the UserId ? 1

Status
Not open for further replies.

dja1

Programmer
Apr 24, 2002
65
GB
As above, is there a method of finding out the NT userid while executing a VB6 App.?
 
Hypetia

Thank you very much. I did search the FAQ's - must have used incorrect search criteria.
 
Many thanks for the star.

It would be really nice if you give thanks to the actual contributors; by rating the FAQ as good or by marking DrJavaJoe's post helpful.

I did not actually provide you the solution, I just pointed you to it.
 
There is also of course:

[tt]sUser = CreateObject("WScript.Network").UserName[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top