On Mon, 2004-12-13 at 19:22 +0100, Stefan H. Holek wrote:
> Hm, I'd rather not raise exceptions.
> getUserById was introduced in Zope 2.2 and since then has never raised 
> anything. From what I can see it is used as a kind of alias for 
> getUser, expected to return None if the user does not exist.

FWIW, it is indeed that when you use a basic user folder.  But when you
use a user folder that makes the distinction between usernames and
userids, getUser operates like it should be named "getUserByName".

- C

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to