I need to extract the DN of the members, of all groups in which a user
is having membership in.

For this I have used the filter 'User' and from the filtered events
using 'Group Membership' attribute of the user I have retrieved the
'Member' of the groups. Also I have taken a count of the variable which
stored the groups values.

Data retrieved:
All the groups user had membership.
Members of the first group.
Also showed the exact number of group count.

I need to have members of all the groups!!

PFB the code.

<if-attr name="Group Membership" op="available"/>
<do-set-local-variable name="var-GroupMemShip" scope="policy">
<token-src-attr class-name="Group" name="Member">
<token-src-attr class-name="User" name="Group Membership"/>
<do-set-local-variable name="var-member-count" scope="policy">
<token-xpath expression="count($var-GroupMemShip)"/>


Agnel_Vincent's Profile: https://forums.netiq.com/member.php?userid=8450
View this thread: https://forums.netiq.com/showthread.php?t=52717