Hi,
Normally, the list of "closed" groups is visible to all users. (registered or not)
Then only members can access. Right?
Yes that is correct.
But there is a way to hide the list of groups closed to users who are not members of those groups?
As authenticated users who are not members of private group still needs to be able to find it therefor built-in MonoX functionality is to show the private groups to users so they can join them. To extend the MonoX functionality to enable your scenario you will have to use the
MonoSoftware.MonoX.ModuleGallery.SocialNetworking.GroupList property
TemplatedControl and attach to
ItemDataBound event in the
Page_Init event. When you do that you will have apply code similar to this
if
(e.Item.ItemType == ListViewItemType.DataItem)
{
SnGroupDTO group = ((ListViewDataItem)e.Item).DataItem
as
SnGroupDTO;
e.Item.Visible = group.IsPublic;
}
Let us know if you need anything else.
Regards