We are currently developing a Windows Smartclient that should authenticate users using their AD membership.
Now we have a requirement for some users to connect via VPN. Is there a way to get the AD account and group ID from the VPN login?
WindowsIdentity.GetCurrent () returns the local user account, not information about its VPN account.
The local account name is different from the AD account used to connect the VPN. that is, the user is on his home PC and connects to the office using his AD account.
Andronicus
source share