public function getApplicants()
{
$applicantRoleIDs = RoleModel::getDefaultRoles(RoleModel::TYPE_APPLICANT);
if (empty($applicantRoleIDs)) {
return new Gdn_DataSet();
}
return $this->SQL->select('u.*')->from('User u')->join('UserRole ur', 'u.UserID = ur.UserID')->where('ur.RoleID', $applicantRoleIDs)->orderBy('DateInserted', 'desc')->get();
}