Hi.
I didn't cacht what you realy want but one idea could be this:
set UsersGroups = TDConnection.Customization.UsersGroups for each gr in UsersGroups.Groups if user.isingroup(gr.Name) then end if next
Check OTA Api description for more details.
Br, Tomas
[If my advice solves your issue or query, please mark the thread as solved. Clicking on KUDOS star is the best way how to say thank you.]