Hi,

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.

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

Thanks,
Vincent


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