well, your enumgroup syntax is wrong, to start with.

EnumGroup( )

Action: Enumerates all groups of which the current user is a member.
 
Syntax: ENUMGROUP (Index)
 
Parameters: Index

A numeric value representing the group whose name you want to discover (where 0 is the first subkey).

_________________________
!

download KiXnet