OIC
>>>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
>
>Hi Hank,
>
>No that doesn't quite work. It returns the servers name and then the hash and the users login name. Because the program is running on the server so you get the server machine name. I need the clients machine name. His login name I have.