How can I get category's special users
I mean users I added one by one in category like below:
I just want to show these master users in home's categories list.
Kowlin last edited by
This post is deleted!
Those userrs are stored in groups with special names, here are the names assuming the category id is 1.
You can get the user ids from these groups by.
Groups.getMembers('cid:1:privileges:find', 0, -1, callback);This will give you all the user ids that have the find permission for category 1.
If you want to get their basic info like username picture slug so you can show user icons you can just use
Groups.getMemberUsers('cid:1:privileges:find', 0, -1, calllback);