Removing Group Memberships in the IDM Vault



By: coolguys

March 26, 2008 8:15 am

Reads: 233

Comments:0

Rating:0

Problem

A Forum reader recently asked:

“Based on some events in IDVault, I want to trigger a policy on Subscrber/Evebt Transformation, which should remove all group-membership for the “current-user” / currentObject , so that user is not the member of any type of Groups in the IDVault at all.”

And here is the response from Father Ramon …

Solution

Actually, you have to remove each group membership individually in order for the reverse link to be removed. What you want to do is something more like this:

<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>

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: ,
Categories: Uncategorized

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Comment