You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > CommunityGroup Class > CommunityGroup Methods > GetMostPopularCommunityGroups Method > GetMostPopularCommunityGroups
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
CommunityGroup.GetMostPopularCommunityGroups Method (int)

Retrieves a list of the most popular community groups up to the number entered in the maxResults property. The popularity of a community group is determined by how many members belong to the group. 

This method can be accessed through the CommunityGroup.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Community/CommunityGroup.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "GetMostPopularCommunityGroups", Description = "Retrieves the most popular community groups.")]
public CommunityGroupData[] GetMostPopularCommunityGroups(int maxResults);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetMostPopularCommunityGroups", Description = "Retrieves the most popular community groups.")>
Public Function GetMostPopularCommunityGroups(maxResults As Integer) As CommunityGroupData()
Parameters 
Description 
maxResults 
The number of groups to retrieve. For example, if 10 is supplied, the top 10 most popular groups will be returned. 

An array of CommunityGroupData objects.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!