searchPrincipals( $principalPrefix, ['{http://sabredav.org/ns}email-address' => substr($uri, 7)] ); if ($result) { return $result[0]; } } }