Forum Discussion

jordanepotter's avatar
13 years ago

Single REST call to update all fields of profile

Is there a single REST call we can make to update all of the fields in a users profile. It would eliminate a lot of extra roll back work when the last call fails if we had an all or nothing call we could make.

1 Reply

  • Hello Jordan,

     

    Seems that I have found the way how to make to update bunch of user profile fields.

    But my solution are working only for Lithium systems where SSO feature was enabled.

     

    You should use the SSOClient.getLthiumCookieValue method for that. Just pass as your profile fields in the forth parameter of the method.

     

    For more info check the following thread: http://lithosphere.lithium.com/t5/Developers/How-do-I-set-the-nickname-using-rest/td-p/60080

    And read the "Administrator’s Guide: Lithium Single Sign-On Solution" manual.

     

    Hope this info will help you:)