+ Start a Discussion

Not able to update parentRole for UserRole object using apex code

Hi ,
Is there anyone worked on UserRole object before.I have a requiremnt where I have to change the ParentRole for the partner users role,What I understood we can do this with userRole object but the problem is it is not allowing me to update the parentRole Id field for the  UserRole objecteven though in field description section it is showing up dateable.Anyone anybidea how that can be done? or any other suggestion?

User-added image
Abdul KhatriAbdul Khatri
Can you check this link if it answer your issue?
Not helpful