Keyword replacement - User counts under a user group


#1

**Matrix Version:**5.5.6.3

Hello fellows

I am creating a asset listing page so it can display user groups in the format o

Table
User group name - users count within this user group

There are more than just one user groups

I am wondering what is the keyword replacement I can use to capture the number of users within a user group?

many thanks


(Bart Banda) #2

If the users are direct children of each group you want to list, you can use the %asset_children% keyword to get an array of the user children and then use the ^count keyword modifier to get the count.