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 am making an api call and using a SOQL query to get some data from one of our accounts in Salesforce. One of the fields i'm retrieving is of type "password", and so when i pull the value down, i can only see all asterisks (it looks like ******).
So, is there a way to read the value of a password type field in an api call instead of just reading it as all asterisks?

share|improve this question
1  
do you have access to the target salesforce org? if so check if the field u pull is of type text(encrypted) if so you need to have "view encrypted data" permission on the user profile –  rao May 2 at 16:42
    
Yep, that was it. I didn't have the "view encrypted data" permission... –  Tyler Jones May 2 at 16:51
    
Before I get yelled by some members here I have my comment as an answer :) –  rao May 2 at 17:03
    
@TYLERLJONES If you have got what you seeked, please accept rao's answer. Thanks! –  MnZ May 2 at 17:19
1  
@MnZ I couldn't mark his answer when it was just a comment! –  Tyler Jones May 2 at 17:23

1 Answer 1

up vote 6 down vote accepted

Do you have access to the target salesforce org?

Check if the field u pull is of type text(encrypted), you need to have "view encrypted data" permission on the user profile

share|improve this answer

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.