Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Discovering user name on NT network from FPW 2.5
Message
From
18/01/2001 14:20:24
 
 
To
18/01/2001 13:56:22
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, United States
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00465233
Message ID:
00465320
Views:
14
>>>Has anyone found a tool that can be used from FPW 2.5 that would return the
>>>current network user name when logged in to a Windows NT network? I want to be able to use the user name as a basis for user-level security within my FPW application. If I could get this user name then I wouldn't have to have the user go through a login process just for my application.
>>
>>getenv( "username" ) should do it.
>
>I have tried that but there is no "username" environment variable and no other variable contains the name. Thank you for the suggestion, however.

What is your network configuration? I mean Server Os, workstations OS (I think you said Win98), etc. Are all workstations the same OS?

Maybe there is some subtle difference that we are not seeing.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform