Thanks for the prompt reply Les,
So if I create a security group instead could I just use IF InGroup instead?, then I would not need a UDF?, what is a UDF anyway?
Thanks
Mark