Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WhoAmI?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00062580
Message ID:
00062610
Views:
26
>>Does anyone know of a class to determine a users LOGIN name on a Novell Netware server? I need to construct a parametized view based on the user logged in.
>
>There may be an environment variable set...just type SET at the DOS prompt and see if anything looks like USERNAME of something...if it does, try the VFP GETENV() function.
>
>Joe

There is. The netware login script sets an environment variable called USER. GETENV('USER') works perfectly. Also, I've run into a problem using both SYS(0) and GetUserName in WIN32API in that both of these go after the Windows95/NT user name and not the network login name and these are not always the same.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform