Looking for a little code help.

When a users account in production gets disabled a loopback in the vault
moves the account to an inactive OU. Looking to automatically remove
all roles assigned to that user at that time.

How should I tackle this?


thanks