13 Dec
2004
13 Dec
'04
8:57 p.m.
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