Okay I used the lines:

$=-1
do $=$+1
$f=enumgroup($) ? $f
until $f=""
sleep 5

It displays the memberships, now I need to move them into an array... Would something like this work to place it into an array?

$=-1
do $=$+1
$f=enumgroup($) ? $f
;place memberships for user into array
$array[$index]=$f
$index=$index + 1
until $f=""

From there I would need to place the array into a menu selection. Am I on the right train of thought, or am I way off base??? As you can tell I'm not a programmer, but I like to try every now and then.