> DEAR SIR,
>
> I am in a big problem sir kindly guide me :
>
> I have an VFP9 application which is run SERVER2003 and connected via RDP/TerminalServices from out of delhi like bby,cal,mad etcetc..
>
> I have got the Mac Address of the Machines from they connected.
> I have got the RDP UserName from they connected.
>
> If you see in SERVER2003 "Terminal Services Manager" and click on Session TAB then only you can get the "Client Name" of the RDP User Sessions.
>
> My IDEA is this that i have make a table where i write the Name of the User and its ClientName which is basically a Machine Name and Check it every time he connected to the Server2003 if they connect from other than my listed list my programme is not allow them to enter into application.
>
> Kindly Tell me how i will get the "Client Name" from RDP Secession.
>
>
?GETENV("CLIENTNAME")
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts