Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Discovering user name on NT network from FPW 2.5
Message
 
 
À
18/01/2001 13:07:00
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00465233
Message ID:
00465245
Vues:
15
>>>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.
>>
>>Check out Sys(0) in the Help to see if that works for you.
>
>Thanks for the suggestion. Yes, I checked that out at the very beginning. That returns the "network name" of the computer not the person using the computer. I'm trying to get the login id specified when the user logged in to the network.

If you are logging in to an NT network, then the format should be Machinename # Username. You should be able to parse out the stuff after the #.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform