FavoriteRAVI 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 MoreAdd a commentWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Archana Panda (AD)Oct 22, 2021, 7:17 AMHi, try PermissionSetAssignment psa = new PermissionSetAssignment(PermissionSetId = myPermissionSetId, AssigneeId = myAssigneeId);insert psa; Show More