[Zope-dev] RE: Catalog

Michel Pelletier michel@digicool.com
Fri, 9 Jul 1999 18:23:03 -0400


> -----Original Message-----
> From: Jason Spisak [mailto:webmaster@mtear.com]
> Sent: Friday, July 09, 1999 7:32 PM
> To: Michel Pelletier
> Subject: Re: Catalog
> 
> 
> Michel,
> 
> This worked in the previous Catalog, but now it won't.  Is there a
> reason or a bug?
> 
> <!--#in "Catalog(id=AUTHENTICATED_USER.getUserName)"-->
> <!--#var extension-->
> <!--#/in-->
> 

Does this work?

<!--#in "Catalog({'id' : AUTHENTICATED_USER.getUserName})"-->

I might have oversimplified the __call__ interface to Catalog.

-Michel


> It just gets the extension property of the object with the same id as
> the users login name.
> 
> Basically I was able to identify the user and compare them to 
> properties
> to get Ownership and get specifics about them for email addressing,
> object creation, etc...
> 
> --
> Jason Spisak
> webmaster@mtear.com
>