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:19:09
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:
00465267
Vues:
12
*snip*
>I get a response of the form
>MachineName # 0 (That is the number zero)
>This seems to be similar to the help for SYS(0) that states:
>"SYS(0) returns the machine number and machine name"
>
>Again, I would like the user name, not the machine name.

Then it sounds like your network connection software does not support this functionality. Taken from the latest help on SYS(0):

If machine information has not been assigned or the network shell hasn't been loaded, SYS(0) returns a character string consisting of 15 spaces, a number sign (#) followed by another space, and then 0. Consult your network documentation for further information on defining machine information.

While your machine name has been assigned, your login information has not been processed in a way that FoxPro can read it. What OS are you running on your workstations?
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