Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WHO AM I in Novell
Message
From
07/11/1998 15:19:46
 
 
To
07/11/1998 11:57:12
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00155101
Message ID:
00155515
Views:
21
>>Does anybody know what function to use to retrieve the User Name from the machine that the user is logged in?
>>
>>Sergio
>
>In addition to Ed's suggestion,
>
>GETENV('USR')

That only works if you use a login script and assign the user's login id to the environment variable "USR" in the script. That is not the standard behavior of the Novell default login script, and wouldn't happen under any circumstance if login script processing were disabled, or your primary login was to an NT domain controller rather than Novell's Client32 or Microsft's CLient for NetWare.

>
>works as well...
>
>HTH,
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform