Well I should be able to use the following

If InContainer('OU=Reserach,dc=cs,DC=utexas,DC=edu', 'Computer')[0]
Exit

I am using Incontainer UDF that retuns an array [0]. 0 means that computer is not a member of the mentioned domain. May be I need to do some more reading on Arrays...Incontainer UDF and select statements.... "


Edited by rwani (2006-03-27 11:58 PM)