incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: userCtx in Views
Date Sat, 12 Feb 2011 20:21:25 GMT
On Sat, Feb 12, 2011 at 8:52 PM, Wordit Ltd <wordituk@googlemail.com> wrote:
> Can you get the currently authenticated user inside a view?
> Is userCtx.name not available? I get no results at all when I use it.
>
> I want to use the username to get values for the currently authenticated user.
> I know I can first get the session, then send the username as the key,
> but that requires two separate requests.
>
> Thanks,
>
> Marcus
>

views know nothing about requests.. The easy way to do that may be to use lists.

- benoƮt

Mime
View raw message