For all users, this code returns "Administrator logging on, no script execution..."

So, even if the user is not an admin, it is returning it as such and exiting.

 Code:
$os=osid()
if @userid=administrator
   ? "Administrator logging on, no script execution..."
   sleep 1
   exit 0
  else
   do some stuff
endif


Oops - was using runas and admin on TS for this bit of code. First code still does not run.


Edited by tjcarst (2007-03-22 09:36 PM)