2/15/2011 12:51:25 PM
7207
Reputation
956
Total posts
Hi Alby,
That is correct, the default behavior is to show only the groups that the active user is a member of. You can use other methods from the GroupRepository class to show categories with your custom filter criteria. For example, the following method signature
public
List<SnGroupDTO> GetGroups(Guid userId,
string
category, Guid categoryId,
string
searchValue,
bool
useFullTextIndex,
int
pageNumber,
int
pageSize,
out
int
recordCount)
shows all groups for a user with a specific UserId. If you set this parameter to Guid.Empty and pass the category ID or category name, you will get all groups in a requested category. Again, the list of SnGroupDTO can be bound to your repeater or any other similar control.
Rating history (Content is rated 0.00 of 0 vote(s).)
Shows who have rated the content, and the rating score.