Skip to main content

Hi Team , 

 

May i know How we can update the current user profile via apex . I need to restrict them to go on 

community.

 

Thank You

 

#Trailhead Challenges

#Salesforce Developer

#Automation

2 answers
  1. Jul 28, 2022, 1:39 PM

    I have a contact , and which have a profile name A. and also he can login into the community portal(Site). Now  want to change his profile via code, i want to restrict him to go on portal . once his role is manager , He can go , but once role is member . i want to restrict them to go over the portal bases on role(Picklist).

     

    @Andrew Russo

0/9000