I am .net Developer, creating some POC on SFDC Metadata Api, so please bear with me if i ask silly question.

I am able to create a Profile and permission set in SFDC org, through metadata api. But am struggling to assign the profile to existing user.

Any suggestions.

Cheers !!

  • if u r not too specific about metadata api, you can use the standard enterprise api to update an user with the profile id you have. – Vamsi Krishna Jun 4 '15 at 13:43
  • The Metadata API supports modification of data that isn't in the normal SObject pattern. So AFAIK you will have to use a second API that does handle SObject data. I'd suggest the REST API as its the simplest. – Keith C Jun 4 '15 at 17:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.