21279 Posts in 5729 Topics by 2600 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 139 Views |
-
Help getting certain Members

29 March 2012 at 7:33am
I'm trying to get members that belong to a particular group (security groups I've created) and a particular Team (Team is a decorated field of Member).
I can get all the users of a group using:
function MemberList(){
$group = DataObject::get_one("Group", "Title = '$this->GroupName'"); //GroupName is a field on the page that I make the same as the security group
$members = $group->Members();
return $members;How can I refine the results to also filter by Team?
Thanks,
Brian
| 139 Views | ||
|
Page:
1
|
Go to Top |

