Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming,microsoft.public.vb.winapi
|
|||
|
|||
![]()
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. |
#2
![]()
Posted to microsoft.public.excel.programming,microsoft.public.vb.winapi
|
|||
|
|||
![]()
"Yo" wrote in message ...
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 |
#3
![]()
Posted to microsoft.public.excel.programming,microsoft.public.vb.winapi
|
|||
|
|||
![]()
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" wrote in message ... "Yo" wrote in message ... 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 |
#4
![]()
Posted to microsoft.public.excel.programming,microsoft.public.vb.winapi
|
|||
|
|||
![]()
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] Yo wrote: 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. |
#5
![]()
Posted to microsoft.public.excel.programming,microsoft.public.vb.winapi
|
|||
|
|||
![]()
Yo,
A lot of implementations use a set range of IP Addresses for VPN usage. You could check for that. Otherwise, a crude hack might be to measure ping times against a local server. Rob "Yo" wrote in message ... 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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Identify the network path a file was opened from (Excel2007) | Excel Discussion (Misc queries) | |||
What does the 'Map Network Drive' function do? | Excel Worksheet Functions | |||
Function to Identify the Modification of a Worksheet | Excel Worksheet Functions | |||
Use Go to function to identify dependent cells between worksheets | Excel Worksheet Functions | |||
Rnd function used in VB on network | Excel Programming |