You need to sign in to do that
Don't have an account?
Bhushan burujwale
How to Add/Remove UserLicense to User from SOAP API request?
What API requests we can use to Add UserLiecnse to user or to Remove UserLicense Assigned to User?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
As answered in this post, there is a Userlicense object to store all the user licenses available in the org. While using SOAP API's, first you will have to query this object and get the related ID.
The relationship between user and license is via Profiles
User -> Profile -> Userlicense
So if you want to update the User license, you will have to follow below approach
- Query license ID
- Query available profileID for the license
- Update user with that profileID
See this post for sample queriesLet me know if this helps
Thanks,
Anudeep
Does that means we will be updating the profile as well while updating UserLicenses as Profiles are dependent from UserLicenses?