Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding out who the user is...
Message
De
27/01/1999 10:54:07
 
 
À
27/01/1999 10:48:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00178748
Message ID:
00180788
Vues:
24
>>What operating system are you using, and what userid was used to attach the networked resource? I did see that Win98 returned my domain ID for anything other than null, which returned my local Windows login; NT seems to behave as per the documentation in the MSDN, but Win9x is not behaving as expected it seems.
>>
>>If you're running in a peer-to-peer environment, I'd say that your results were correct, since you'd have share-level access rather than user-level access enabled, which means that your userid for all connections is the same. Why local and non-existent connections are returning any value without an error doesn't make sense.
>
>Running Win95 (4.00.950B) in a NT-server environment. I have no local windows login and all network devices are connected using my normal network userid.
>Don't spend too much time on this on my behalf, as I don't have any immediate need for this function. Just a little curious, though...

If you only log into your domain, your local name is the same as your Windows system login name. I have a separate domain and local userid set up on my system here, which is why I return two different IDs. The only indication from Win98 that I've got the local vs the domain ID is that the domain ID is all upper case (and is obviously the userid I logged into the domain with, as opposed to the station)
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform