More info...

I am trying to determine which server to attach the user to. The user would be attaching via VPN.

All users are part of one domain. All users have the Office field fill-in.

Site1 is the default location in the current script.

For example, Joe Blow (JBlow) belongs to the Site2 location. When he connects via VPN, it doesn't know that he belongs to Site2 and maps his network drives to Site1. Since he is using a non-domain account, I can't use the INGROUP feature.

I would just like some code that could return the Office value for a given user.