views:

21

answers:

0

I’m wondering what kind of mechanism I could use to determine a users IP address programmatically when running over Remote Desktop Gateway. I’ve tried using WSQuerySessionInformation to enumerate the clients, but the IP Address is not returned over Remote Desktop Gateway. I would like to restrict access to certain resources by a user/IP combination.