Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

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 at 6:29
add comment

1 Answer 1

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
1  
There were several issues with my approach. At the end, I used this: apigee.com/console/salesforce to troubleshoot and to make requests that will work. –  Aleksandar Vučetić Apr 19 at 2:59
add comment

Your Answer

 
discard

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.