You need to sign in to do that
Don't have an account?

Getting data from Named Credentials in Apex
Hi, is there a way of accessing the data stored in Spring 15' Named Credentials from apex? For example the username, password and endpoint link?
You need to sign in to do that
Don't have an account?
If you want to get data from NamedCredential it is available as object. you can do SOQL on that
and if you want to use that you can do use following documents to do that
https://help.salesforce.com/HTViewSolution?id=000206761&language=en_US
Thanks,
Himanshu
Anybody knows if it is possible?
Did you get any solution for this?