Identify: VPN or Network - What API Function do I use?

Y

Yo

How do you identify if a user is Local or VPN?
It will either be a VPN from a remote location or a Network Login from
inside the office.
Thanks in advance,
Yo.
 
P

Peter Young

Yo said:
How do you identify if a user is Local or VPN?
It will either be a VPN from a remote location or a Network Login from
inside the office.

I don't know that you can. The very nature of a VPN is to make it so that the remote user is effectively inside the
network - they are assigned a local IP.

What does it matter to your VB app?

-Pete
 
J

Jake Marx

Hi Yo,

The only way I can think of to do something like this is look at the user's
IP address. If your Active Directory setup assigns designated IP addresses
to VPN users, then you can test to see if the IP is in that range.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]
 
Y

Yo

My company has 2 offices which are a block appart. The main office needs to
know who in the secondary office is in (Local) or logged from home (VPN).
The secondary office is on a point to point T1 so it has the same internal
IP, and the VPN I am going to assume is different. Thanks for the
suggestions, Pete, Jake & Rob.

I am going to need to ID the machines IP address. Thanks
Yo.


Peter Young said:
I don't know that you can. The very nature of a VPN is to make it so that
the remote user is effectively inside the
 
Top