Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Were can I find out which user is logged in?
Message
De
19/01/1999 10:41:06
 
 
À
19/01/1999 09:40:32
Information générale
Forum:
Windows
Catégorie:
Autre
Divers
Thread ID:
00177149
Message ID:
00177590
Vues:
30
>>>Were in the resistery can I find out who is the current user?
>> ....
>>You can also use the Wscript.Network object's UserName property if the Windows Scripting Host has been installed.
>>
>>>
>>>thank you
>
>Thank You Again - this is what I needed.
>
>You wouldn't happen to know the 16 bit call for this?

Sorry, not off the top of my head. I suspect the WNetGetUser() call is pretty much the same, but I don't know the syntax for using the 16 bit call with FoxTools.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform