[Zope-Coders] user.getUserName

Chris McDonough chrism@zope.com
20 Oct 2002 12:29:40 -0400


On Sun, 2002-10-20 at 12:14, Florent Guillaume wrote:
> Chris McDonough  <chrism@zope.com> wrote:
> > +      - Caused many places throughout the code base to use
> > +        calls to user.getId() rather than user.getUserName().  With
> > +        most (all?) user folder implementations today, this will have
> > +        no behavioral change, as getId is always alised to getUserName.
> > +        However, this makes it possible to write user folder
> > +        implementations which make the distinction between the user's
> > +        id and the user's name.  These user folders will allow users
> > +        to change names independent of their identity.
> 
> Ok so if I understand that and the comments you put in the code, the
> user's id is the internal handle the user folder has on the User object,
> and the user's name is "whatever is used for authentication". Is that
> correct?

That's right... 

- C