This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do you add/delete AD group memberships using a script

I am trying to write a script (or can use process step) that will remove all of a person's AD group memberships when an attribute changes.  The script I wrote identifies the correct groups but just running a delete on the ADSAccountinADSGroup record is not working.  A sql trace on the session is showing an insert into dialogprocess prior to the delete statement running when using Manager to remove the group but I can only see the bind variables, not the actual values being inserted.

Does anyone know how to accomplish this or another way it can be done?

Thanks

Eric 

Parents
  • Hello Markus

    Thanks much for your help and I apologize for my delay in response. This question pertains to a a development effort and we are having some production issues.

    All of the groups I would like to remove from adsaccountinadsgroup have a viinherite value of 1 in adsaccountinadsgrouptotal.
Reply
  • Hello Markus

    Thanks much for your help and I apologize for my delay in response. This question pertains to a a development effort and we are having some production issues.

    All of the groups I would like to remove from adsaccountinadsgroup have a viinherite value of 1 in adsaccountinadsgrouptotal.
Children
No Data