salesforce - Deactivate a portal user in a test class -
does know how deactivate portal user in test class?
i'm trying delete accounts assoicated portal user , figured if deactivated portal user may able delete account.
i've tried updating user with
isportalenabled = false isactive = false
however doesn't seem work. when checking user after update, isportalenabled = true , isactive = false. (is salesforce seems doing scenes?)
Hi. We are facing exactly the same issue. Can you please share your solution if you found anything related to this problem. Thanks
ReplyDelete