RE: [Zope-dev] Reference to a user

2000-10-23 Thread Brian Lloyd
If I want to store a reference to a User in Zope, what's the best way to do it? I'm currently storing just the user's name, which doesn't seem very robust. Perhaps there's a more conrete reference to the user object? How about a path or something? Is there an interface for this

Re: [Zope-dev] Reference to a user

2000-10-23 Thread Chris Withers
Brian Lloyd wrote: You might want to look at the 'ownerInfo' method in lib/python/AccessControl/Owned.py. That produces a fully qualified 'path' to identify a user. It probably should be made an interface on the user object itself (it probably was done this way initially to avoid forcing