Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have successfully authenticated from my application using OAuth2 and I'm able to get UserName, UserId and few other things, but I can't get EmployeeNumber which is stored in User profile. How that can be done using REST API, for my authenticated user?

share|improve this question
What have you currently tried to get that field ? Knowing so may help others in answering. (You can update your question with additional infor, that way it's not hidden in the comments) – Samuel De Rycke Apr 19 '14 at 6:29
up vote 2 down vote accepted

From the API point of view, EmployeeNumber is just the same as Username, Id and any other field. It may be field level security that is preventing you from seeing it - check the settings on the User object against the profile of the user you're using to access the API.

share|improve this answer
There were several issues with my approach. At the end, I used this: to troubleshoot and to make requests that will work. – Aleksandar Vučetić Apr 19 '14 at 2:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.