Jens, Richard thanks both again for your help

Retrieving the group memberships works fine and populates the array, however its returning the array out of the function I am getting wrong [Frown]

Please teach me how to fish [Big Grin] I've quite a few other segments like this I have to work on in my script