Thanks very much Howard. [Smile]
I ended using this part of your script. My intention was to fill a combo with that info.
Now i can make a function no?

code:
Function ThanksToHowardTheComboIsFull()
$object = GetObject("WinNT://$domain,domain"
$object.filter = "group",""
For Each $group In $object
$name = $group.Name
$ComboGroup.ADDITEM("$name")
Next
Endfunction

Do u think this could join the UDF section?
_________________________
Life is fine.