test

user_login . "\n";
echo 'User email: ' . $current_user->user_email . "\n";
echo 'User first name: ' . $current_user->user_firstname . "\n";
echo 'User last name: ' . $current_user->user_lastname . "\n";
echo 'User display name: ' . $current_user->display_name . "\n";
echo 'User ID: ' . $current_user->ID . "\n";
if ( current_user_can('access_s2member_ccap_special_edition') ) {
echo 'The current user can view the special edition
';
}
else
{
echo 'The current user cannot view the special edition';
}

if ( current_user_can('access_s2member_ccap_summer2013') ) {
echo 'The current user can view the summer2013 edition';
}
else
{
echo 'The current user cannot view the summer 2013 edition';
}
?>

prefix . 'capabilities';
$current_user->role = array_keys($current_user->$role);
$role = $current_user->role[0];
echo 'User role: ' . $role . "\n";
?>