Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the client name
Message
De
16/04/2015 12:02:23
 
 
À
15/04/2015 14:44:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01618480
Message ID:
01618542
Vues:
56
>Hi All
>
>Running an app under terminal services / remote desktop and if I use the Windows Remote desktop Services Manager and look at a logged in user I can see various info about the user such as their log in name but also the "client name" which appears to be the name of the computer that the user is using. For an example see the screenshot attached. Does anyone know an API routine to get that info from within a VFP program?

sys(0) will give you information like this from an rdp or ica client:
     ? sys(0)
     MDWRND # hfay
hth,

Hank
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform