Depends where he wants it, the Auth:: variable will only access the currently logged in user (I believe), so you can declare $pilot or $userinfo separately wherever he wants to use it.
And also, by the looks of things, it looks like he wants to access the profile page of a pilot. Specifically, like the pilot roster, $pilot could be a number of pilotids which are looped through.
<?php
$allpilots = PilotData::getAllPilots();
foreach($allpilots as $pilot) {
echo '<a href="'.SITE_URL.'/index.php/profile/view/{$pilot->pilotid}">View Profile</a>';
}
?>