[Zope-Coders] user.getUserName

Florent Guillaume fg@nuxeo.com
Sun, 20 Oct 2002 16:14:34 +0000 (UTC)


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?

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com