M
Michael
Hi,
I have used the api GetUserName (with fOSUserName from
"http://www.mvps.org/access/api/api0008.htm") to retrieve the user currently
logged in to Windows for the purpose of permissions for the database
application. However, if a user logs into a network using a VPN connection
and the login name is different than the login name currently logged in for
the pc and he/she is accessing the database application remotely through that
VPN connection, the GetUserName api returns only the login name from the pc,
not the VPN connection (which is what I imagine it is supposed to do). Does
anyone know how to retrieve the VPN login so the users accessing the
application remotely through a VPN login (same as their regular network
login) will still be recognized if the pc that is being used has a different
user login name? I have tried using 'Environ("UserName")' but that seems to,
again, retrieve the user name for the current pc login, not the VPN network
login.
Any thoughts on how to achieve this would be greatly appreciated.
Michael
I have used the api GetUserName (with fOSUserName from
"http://www.mvps.org/access/api/api0008.htm") to retrieve the user currently
logged in to Windows for the purpose of permissions for the database
application. However, if a user logs into a network using a VPN connection
and the login name is different than the login name currently logged in for
the pc and he/she is accessing the database application remotely through that
VPN connection, the GetUserName api returns only the login name from the pc,
not the VPN connection (which is what I imagine it is supposed to do). Does
anyone know how to retrieve the VPN login so the users accessing the
application remotely through a VPN login (same as their regular network
login) will still be recognized if the pc that is being used has a different
user login name? I have tried using 'Environ("UserName")' but that seems to,
again, retrieve the user name for the current pc login, not the VPN network
login.
Any thoughts on how to achieve this would be greatly appreciated.
Michael