Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(0) returns the machine name and the user name in Nov
Message
 
To
09/10/1997 13:58:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00053929
Message ID:
00053932
Views:
25
>All I want to do is to return the user name. Any ideas?

i think sys(0) returns the windows user and not the novell user.
if the windows user is what you want, can you just parse it out of the string sys(0) returns.
there is also an api call ( i think it's GetUserName ) that will return just the windows user.

if you want the novell user, i know there is something in the files section ( or maybe kb ) here on ut.
i know i saw it but have yet to have a need or time to give it a try.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform