Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting User Names
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00566514
Message ID:
00567490
Vues:
15
>>How can I get the user name if I have captured the NT login
>>id and what other info is available?
>
>In addition to what Dave told, but easier, IMO, would be to use the WScript.Network object of the Windows Script Host.
LOCAL oNet AS "WScript.Network"
>oNet = CREATEOBJECT("WScript.Network")
>? oNet.UserName
That was the user neatly disposed of, now what about the password?

Would come in handy for transparent login into other systems?

Is the Windows Script Host installed on any W9x through XP machine or does one have to do something?

BTW George, whatever happened to "Foxpro first..." ?

My latin is a little rusty, so I get a bit about love and god, but what does it really say?

Lot's of questions, I know and I'm already looking forward to your replies.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform