Sorry that my title isn't very clear - didn't really know what else to call this.
Basically what I want to do is have a variable that is
"authData."+service+".displayName";
And turn that into
authData.theValueGivenToService.displayName;
Any idea on how to do that?
(I'm working with JavaScript/JQuery by the way - I should have mentioned that earlier)