Why the messagebox anyway if it's a scheduled task? And how are you going to schedule the task to run under another user's account? Do you know the account passwords for your users? Scripts executed via scheduled tasks should not require user interaction. There are UDFs that retrieve the interactively logged in user. that user will need to be identical to @USERID for your test to work.
_________________________
There are two types of vessels, submarines and targets.