Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I obtain the user name?
Message
 
To
17/05/2006 17:41:14
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Miscellaneous
Thread ID:
01123025
Message ID:
01123096
Views:
17
Vernon,

SYS(0) does what you want as others have stated, but I prefer to use ID(). It returns the same thing, but is easier for code maintenance (and memory), IMO. I stopped using SYS(0) as soon as I learned of the ID() function.

HTH,
Chad


>Hello All!
>
>I would like to grab the user name (either from the network and/or windows) from the system. Is this possible without having to purchase 3rd party software?
>
>Highly appreciate the help.
>
>Thank you,
>
>Vernon
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform