I have a profile field called "myutr" that I need to pass to the browser, for ALL pages, via js
I know that $user does not contain profile fields so to get the value of this field I need to load it via
$account = user_load($user); drupal_add_js($account->myutr); //I know that is not the correct code
But in a big site with more and more page views call user_load only for a field is for me a bad perfomance practice. So: is there a possibility to load only this field via drupal standard api ? Or I need to call db_query(....) ?