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
Ashok.ForceAshok.Force 

Is it possible to edit the Own Account/Contact as a Portal User

HI,
   When the lead is converted Account/Contact record created. Also a Portal User account created.

Using that Portal User Account is it possible to edit their own Account / Contact Details from the Portal Site?

I can able to login thru the portal site and once the login is success and I'm calling the page where to show the Account / Contact Details

My Controller code

public MyDetails(ApexPages.StandardController controller)
{
parentId   = controller.getId(); 
        
        contact = (Contact)controller.getRecord(); 
        
        String userName = UserInfo.getUserName();
User activeUser = [Select Email From User where Username = :username limit 1];
String userEmail = activeUser.Email;
        
        
        Contact mycontact = [select Salutation, FirstName, LastName, Phone, MobilePhone from Contact where Contact.email__c = :userEmail] ; 
        
  
       
      contact = mycontact;
        
}

But in the page none of the values are shown in the UI