<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=775271419-23062004><FONT face=Arial size=2>I was wondering if 
the login should be allowed to use an id that is entirely numeric. Does not 
seem to be any limitation anywhere except 
in autohandler:</FONT></SPAN></DIV>
<DIV><SPAN class=775271419-23062004><FONT face=Arial 
size=2>$session{'CurrentUser'}->Load($user);</FONT></SPAN></DIV>
<DIV><SPAN class=775271419-23062004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=775271419-23062004><FONT face=Arial size=2>Looking at the code 
for the RT::CurrentUser object, I found LoadByName and I changed the code 
to</FONT></SPAN></DIV>
<DIV><SPAN class=775271419-23062004><FONT face=Arial 
size=2>$session{'CurrentUser'}->LoadByName($user);</FONT></SPAN></DIV>
<DIV><SPAN class=775271419-23062004><FONT face=Arial size=2>and I am now fine. 
Should this be the default? When would a user logon using their actual record id 
number? Will doing this break anything somewhere else?</FONT></SPAN></DIV>
<DIV><SPAN class=775271419-23062004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=775271419-23062004><FONT face=Arial 
size=2>Thanks.</FONT></SPAN></DIV>
<DIV><SPAN class=775271419-23062004><FONT face=Arial 
size=2>Dave</FONT></SPAN></DIV></BODY></HTML>

<P>------------------------------------------------------------<br>
This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. <br>
<br>
Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.<br>
<br>
============================================================ </P>