Hi,
GetGroupsForUser requires providing a username and returns a list of groups, from Active Directory.
Are you setting the username before calling GetGroupsForUser?
If you'd like to, create a simple test form and attach it via the Options tab. We can check what's going on.
Thanks.