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
Bhushan burujwaleBhushan burujwale 

Hi I can see that Userlicense is not associated with user directly, its associated with the profile and profile is associated with the User.

Hi I can see that Userlicense is not associated with user directly, its associated with the profile and profile is associated with the User ?
But from the front end in salesforce I can see with out changing the profile I can change the Userlicense. PFB the screen shot for the same.
User-added image

If I want to update the userLicense without updating the profile, how Can i do that with SOAP API ?
Please help
SandhyaSandhya (Salesforce Developers) 
Hi,

I have not tried but after some research I found below link which has the sample code in java script.

https://success.salesforce.com/ideaView?id=08730000000Z6gBAAS

 https://salesforce.stackexchange.com/questions/18306/how-to-change-profile-licence-type
 
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
 
Best Regards
Sandhya