I have a list of players which belong to a group each. How can I use a filter to list the users per group?
[ {
"UserID": 61267,
"FullName": "Steve",
"Permissions": [
{
"PermssionType": 1,
"PermssionStr": "team alpha"
}
] }, {
"UserID": 61268,
"FullName": "George",
"Permissions": [
{
"PermssionType": 1,
"PermssionStr": "team alpha"
},
{
"PermssionType": 2,
"PermssionStr": "team beta"
}
] }, {
"UserID": 50825,
"FullName": " Gene",
"Permissions": [
{
"PermssionType": 1,
"PermssionStr": "team alpha"
},
{
"PermssionType": 2,
"PermssionStr": "team beta"
}
] } ]
I'm looking for this result:
team alpha
Gene
George
Steve
team beta
Gene
George