Hi,

I want to remove a user from all groups. I want to do it from a work
order driver.
Below is the code I am using for which I got from netiq forum only. I am
calling the code from the placement policy of the work order driver.
Though the 'Group Membership' attribute is getting removed from the
user, the user is still not getting removed from the groups.
Below is the code I am using.

<do-for-each>
<arg-node-set>
<token-src-attr name="Group Membership"/>
</arg-node-set>
<arg-actions>
<do-remove-src-attr-value name="Group Membership">
<arg-value>
<token-local-variable name="current-node"/>
</arg-value>
</do-remove-src-attr-value>
<do-remove-src-attr-value name="Security Equals">
<arg-value>
<token-local-variable name="current-node"/>
</arg-value>
</do-remove-src-attr-value>
</arg-actions>
</do-for-each>

Regards,
Dipu.


--
tcdipumon
------------------------------------------------------------------------
tcdipumon's Profile: https://forums.netiq.com/member.php?userid=11750
View this thread: https://forums.netiq.com/showthread.php?t=56883