>>I am trying to figure out how to get the IP address from the API under Terminal Services, and hoping that it shows the IP the client has connected to as the primary IP. I am hoping to be able to set up a loader that will load the proper program based on the IP that the terminal server session has connected to. Can this be done or do I have to setup a loader that asks them who they are?
>
>Cy,
>If your intention is to distinguish them then what about getting their NIC address using UuidCreateSequential (w2K, XP) or UuidCreate ( Version < 5.x) ?
>Cetin
The problem is I want to know which of the 10 ip addresses that my terminal server has they have used to connect. Ideally I want each customer to only know about the one address. We are using the internet connector, this means all users connect with the same logon, so I can't use that to launch the right program. It's beginning to look like I am going to have to make the loader query the user for their agency affilliation and base it on that. It will work but is not elegant like I wanted it to be.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc