- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I suppose you could try passing the array as a stringified object, such as:
return { userGroups: JSON.stringify(userGroups) };
And then parse it as an array in the profile script:
var userGroups = JSON.parse(mbox.param('userGroups'));