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

I want to add Multiple roles to user in account team is it possible through custom code

I have situation where I have user who has mutliple roles in organization but when I try to add two roles for one user its replacing the other one  I have checked with Salesforce Support Team they have mentioned its a limitation.I want to check can we build a custom code to assign multiple roles to one user
The best solution would be to create a third role (combined of the two) and assin that to the user. You would basically be re-writing the system to accomplish this one off.