You need to sign in to do that
Don't have an account?
sfdcdev.ax551
Can an API only user access the User Objects?
Hi,
Can an API only user able to access the User Objects like User, User Role, UserGroup? We tried it and it threw INSUFFICIENT_ACCESS_OR_READONLY error.
We have a requirement to use the API only user, but who has access to update User objects. At the same time we do not want to use the System Administrator profile for this purpose.
Any pointers?
Thanks for your time.
All Answers
Hi Simon,
Thanks for your response. The user object is however not exposed in the profile detail under Object Persissions and hence there is no way for us to grant permission for User object from the Profile edtail page.
So in other words, is it true that only System administrators have access to edit the User object and not a user who has a profile permission with "API User" enabled?
Thanks
Quote from docs:
To create() or update() a User record, you must log in with the “Manage Users” permission. Additionally, if the user is a Customer Portal user, you must log in with the "Edit Self-Service Users" permission; and if the user is a Partner Portal user, you must log in with the "Manage Partners" permission.