I need to display custom activity message list in the widget. There are two groups created in the system as group “A” and “B”, which are of type “Private (Unlisted)”. “A” group has sub groups with type “Private (Unlisted)” and group “B” has groups with type Public (Open Membership).
So I need to display activities of child groups from group “A” and group “B” only for which user has joined. I tried to implement this by setting parent group Id which is private unlisted group in $core_v2_activityMessage.List() method , but functionality does not returns activity list for its sub groups also it does not considers UserId parameter to associate groups to check users membership.