Thanks NTDOC for your help. Yes, the UDF shows me the way how to theck group membership!