• Fireball
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 1
    Replies
I need urgent help. I'm trying to set a new value to SuperUser field of Self-Service User via Salesforce Web-service API but got the exception "Unable to create/update fields: SuperUser. Please check the security settings of this field and verify that it is read/write for your profile.". From what I could find this field seems to be unchangable at ll. Is it true? Does anybody know any ways to update SuperUser field?
 
Here is my code:
 

usr.ContactId = null;

usr.Name = null;

usr.IsActiveSpecified = true;

usr.IsActive = true;

usr.SuperUserSpecified = true;

usr.SuperUser = true;

usr.TimeZoneSidKey = timeZone;

SaveResult[] result = sp.update(new sObject[] { usr });

 

Thanks in advance