With the Devel module installed you can easily get the associated properties of elements.
Getting the values of a node
<?php dpm($node); ?>
Getting values of a user
<?php global $user; dpm($user); ?>
Drupal version:

Justin Chevallier
Avid Drupal site builder & user for +10 years.
Add new comment