Thanks for that; however, that's not really the part I'm having a problem with.

Let me try to simplify things a bit:

Let's say I've got a user, Bob. He's got a local account on his workstation, \\WKSTA1\Bob, and a server account, \\SERVER1\Bob. There's also a group on the server, \\SERVER1\Supervisors, that has a special shared folder that holds files Bob needs to do his job.

Now, if I were checking for local group memberships for Bob, I could just use ingroup() in an IF statement. However, what I want to check is actually the group memberships for the server account. I've tried this:

 Code:
If Ingroup("\\SERVER1\Supervisors")
use s: "\\SERVER1\Supv Share"
EndIf


The problem is, the if never seems to trigger (I suspect because we're technically talking about 2 separate accounts, and the ingroup() command doesn't support the impersonation). I've tested this without the if, and it mounts the drive, which just supports my theory.

Anybody got any other ideas?