Category Archives: User

[Salesforce.com] Upsert on the User object

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 :)