In our enterprise we add a security group to the local admin group of a workstation during the imaging process. I'm working with INGROUP and I want to say "if you're an administrator on the local machine do yada yada". In my situation, the users gain admin access through membership to the AD group we add to the desktop admininstrator group.

INGROUP (as I'm sure you guys know) won't return the user as a local admin if they are a inheriting those rights by virtue of another group.
I know there are a billion and 1 ways to work around this but what do you suggest the best solution is?

I do have a VB function from the legacy logon script but I can't convert it to kix because I woke up stupid this morning:P