[Salesforce.com] Upsert on the User object

By | 6. 3. 2016

If you are trying to do the UPSERT operation on the User object, for example:

you will get error:

Workaround

The workaround for this case is use the Database object:

…and now you can happily use the upsert operation on the User object :)

Leave a Reply

Your email address will not be published. Required fields are marked *