Hey Michael,
Thanks I appreciate it. Mostly what i was looking for is how to check that a user has an active membership. I found this snippet in one of the plugin files. Would this do it?
if($current_user->ID)
$current_user->membership_level = pmpro_getMembershipLevelForUser($current_user->ID);