function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
UU 

Authenticated Website Licence: Delete Account record of Customer Portal User

Hi all,

Can you please teach me how to delete Account record of Customer Portal user?

I already tried to..
1. delete ContactId on User with Developer's Console
     -> Fail. ContactId field cannot be editted
2. delete ContactId with dataLoader
     -> Fail. ContactId is not selectable from list

I am about to try Apex but since (it seems) ContactId could not be updated from Developer's Console, I wonder if it is possible to update this field from Apex.....

I appreciate any comments.

Thank you in advance!