(OG) Example function to detect User's roles?
To test whether the currently-logged-in User has a specific Role, you can do this:

global $user;
if (in_array('Executive', $user-&gt;roles)) {
  drupal_set_message("I have the 'Executive' role.");
}