Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I get NT user name?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00367203
Message ID:
00367290
Vues:
13
Perfectamundo! Thanks, Bruce.

It's nice SYS(0) has been updated in VFP 6. Foxpro 2.6's version just gives me the machine name.

- Gerry

>>How do I obtain the user's name on an NT network? Novell was fairly simple but I cannot seem to find this info in the NT world.
>>
>>I'd rather NOT have to define an environment variable in their login script, if possible.
>
>A little more detail,
>
>cNetname = alltrim(substr(sys(0),atc('#',sys(0))+1))
** Gerry White / Hagerstown, MD, USA --
** Developing since 1986 in Foxpro, VFP, Oracle, and Java.
** http://GerrysPlace.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform