Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Identify Wokrstation
Message
De
08/03/2000 10:57:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00343263
Message ID:
00343278
Vues:
30
>Does anyone know a way to idenity a unique workstation ID (on NT networks) other than by using SYS(0)?
>
>SYS(0) returns the computer name. In Fox 2.6 under Novel there was a unique workstation number. An environment varible could be set in the Novel login script something to the effect WORKSTAION =????. In UNIX and Fox 2.6 you also get a unique user login ID. Both these work flawlessly.
>
>I'm not too convinced that the computer name is a unique identifier in an NT network.
>
>Regards,
>
>ALfred Menendez
>Fermen Corporation
>alfredm@fermen.com


Alfred,
As Larry mentioned computer names are unique in a given NT domain. If somebody already logged on to domain with your computer name you cannot logon (or at least I couldn't succeed to do so).
You could query more specific things like NIC address but unfortunately it's not supported on nonNT computers. In Novell and Fox2x I was querying all stations flawlessly (provided you have administrator rights) using Novell services as you say and it was lovely :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform