Hello ebiard

I have moved this post to the SCRIPTS forum where it is more appropriate.

In essence, a UDF is a single User Defined Function that performs some task. Your post has 3 UDFs in it, which would make it more like a LIBRARY of functions.

What you could do if you wanted to would be to post all 3 of them as individual UDFs and list each of them as a dependancy for each other. However that may be too much work and thus is better to just have it here in the SCRIPTS forum where this type of post normally would belong.

I take it that you're wanting to do more then just TRUE/FALSE on membership in a group by saying that InGroup does not work. I have not found that to be the case. I use InGroup quite a bit and including Universal groups, and so far it has been working for me. How far the nesting goes for InGroup I'm not sure, but deep nesting is also frowned upon by Microsoft and most Admins even if AD does support it.

I see that you say dependancy is KiXtart v4.20 I don't know for sure, but perhaps your issues or complaint about InGroup is from the version level. Have you tried v4.22 to determine if that is able to correct the issue?