Originally Posted By: Witto

Check for the environment variable %LOGONSERVER%
Now you should know if the user is logged on to the domain or with cached credentials
That has never worked for me.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.