Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User name in Window 2000 and NT
Message
 
 
À
03/07/2002 09:28:39
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00674911
Message ID:
00675233
Vues:
16
The USERDOMAIN and USERNAME are System environment variables. They are set when the user logs on. See Environment Variables in Windows NT mskb #Q100843 for details.

>I found recently, when we typed SET in Command prompt in Window 2000, we got a list of environment variables.
>
>Two of those variables are USERDOMAIN and USERNAME.
>
>I want to use GETENV() to get Domain Name and user name, because I am using Foxpro DOS 25b and don't have Foxtools.
>
>Is this a good way to do this?
>
>I also want to know where USERDOMAIN and USERNAME come from.
>
>Thanks
>
>
>Jim
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform