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
Harish PHarish P 

first error: FIELD_INTEGRITY_EXCEPTION, field integrity exception: UserRoleId (dpua portal user cannot change user role): [UserRoleId]"

While working with customer portal am getting this error--first error: FIELD_INTEGRITY_EXCEPTION, field integrity exception: UserRoleId (dpua portal user cannot change user role): [UserRoleId]" If anyone plz resolve this issue
Alexandr VashchenkoAlexandr Vashchenko
Please make sure that you do all DML operations after API call. There is reason why we should do this after dangerous operations.