I don't understand why don't you use normal groups for this and use them with ingroup()...

anyway, if you have array of userIDs, you can do:
for each $username in $array
if $username=@userid
...
endif
next

you may also do:
if instr(join($array,chr(10)),@userid)
...
endif

or similar.
but, I still must wonder, don't you have groups for this?

cheers.
_________________________
!

download KiXnet