I'd like to limit the number of users who install this program, but even if they aren't part of the "IT" OU in Active Directory it still runs. What am I doing wrong? (InOU is a UDF I downloaded from InOU UDF )

 Code:
If InOU(IT)=1
  If Exist("C:\Program Files\Out'n About! For Outlook")
       Return
  Else
  Run '\\Oak2003\Publicdr\AI Download\OutnAbout\OutAboutClientSetup.exe /server Intake1'

       Return
 EndIf
EndIf


Edited by Allen (2008-04-25 12:13 AM)
Edit Reason: Added code tags