How do you access custom user information added from: Configuration » People » Account settings I'm looking to create a script that pulls some of this information, but I need to know how to call it. For example one of the 'machine names' for one field is field_first_name how could I call this?

At the moment I'm using:

&lt;?php
global $user;
print $user-&gt;name;
?&gt;


Below is what I'm looking for, pulling the custom information instead of the username.

&lt;?php
global $user;
print $user-&gt;feild_first_name;
?&gt;
try $account = user_load($user -> uid) after global $user and then dsm($account) or print_r($account);,
global $user get only basic data of object I think