Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need An API Call
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00552691
Message ID:
00553495
Views:
12
Had you considered using Winsdow Script Host? If so, you could to as follows:

oWSHNetwork = createobject( "wscript.network" )
* user domain.
lcDomain = oWSHNetwork.userDomain
* user name.
lcName = oWSHNetwork.userName
release oWSHNetwork

Work just fine on W2K. Enjoy.
Robert Hoogstraat
Software Intellect
Previous
Reply
Map
View

Click here to load this message in the networking platform