How to Enable and Disable User Account by Epicor Function

I never succeeded. I used a workaround.