We need to remove user from all his groups (both group member and group admin) w

We need to remove user from all his groups (both group member and group admin) while the user was reactivated thru AD sync process.
In my current thinking, we need to use people functions plugins to get all user's groups and execute multiple task instances to remove the given user from his groups. Is there simpler way to do that?...

OriginalPostID-99245

OriginalPostID-99245

  Discussion posts and replies are publicly visible