RAVI SHIVANGE (Ambit Software LLC) asked in #Sales CloudOct 22, 2021, 7:10 AMhow to write apex class for assigning profile role and permission setsplz ans #Sales Cloud #Analytics #Nonprofit #Trailhead #AppExchange1 answerSortSort by DateSort by Most HelpfulSort by DateArchana Panda (AD)Oct 22, 2021, 7:17 AMHi, try PermissionSetAssignment psa = new PermissionSetAssignment(PermissionSetId = myPermissionSetId, AssigneeId = myAssigneeId);insert psa; Show MoreReply in Slack
Archana Panda (AD)Oct 22, 2021, 7:17 AMHi, try PermissionSetAssignment psa = new PermissionSetAssignment(PermissionSetId = myPermissionSetId, AssigneeId = myAssigneeId);insert psa; Show More