Hi,
there are two ways to implement functionality you need:
- One way would be to use the below code and create simple repeater which will show the member groups
public
virtual
List<SnGroupDTO> GetGroups(Guid? languageId, Guid userId,
string
category, Guid categoryId,
string
searchValue,
bool
useFullTextIndex,
int
pageNumber,
int
pageSize,
out
int
recordCount)
e.g.
GroupRepository.GetInstance().GetGroups(userId, category, searchValue,
false
, pager.CurrentPageIndex + 1, pager.PageSize,
out
bindContainer.RecordCount);
- Other way would be to take advantage and user the
~\MonoX\ModuleGallery\SocialNetworking\Groups\GroupList.ascx WebPart and restyle the template
~\App_Templates\Default\SocialNetworkingTemplates\GroupList.htm. So you will need to place that WebPart on your page and set the UserId property in order to show user's groups. Note: In order to use this functionality you will need to wait for today's nightly build.
Regards