+
+ my $principals = $self->NewAlias('Principals');
+ $self->Join( ALIAS1 => 'main', FIELD1 => 'MemberId',
+ ALIAS2 => $principals, FIELD2 =>'id');
+
+ $self->Limit( ALIAS => $principals,
+ FIELD => 'PrincipalType',
+ VALUE => 'Group',
+ ENTRYAGGREGATOR => 'OR',
+ );