Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 58082 invoked from network); 12 Feb 2011 19:53:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Feb 2011 19:53:28 -0000 Received: (qmail 99859 invoked by uid 500); 12 Feb 2011 19:53:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 99767 invoked by uid 500); 12 Feb 2011 19:53:26 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 99758 invoked by uid 99); 12 Feb 2011 19:53:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Feb 2011 19:53:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wordituk@googlemail.com designates 74.125.83.52 as permitted sender) Received: from [74.125.83.52] (HELO mail-gw0-f52.google.com) (74.125.83.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Feb 2011 19:53:20 +0000 Received: by gwb11 with SMTP id 11so1618373gwb.11 for ; Sat, 12 Feb 2011 11:52:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=nNDv+BFLOAtwQijYbtxp2+yPH+NZwBdMCF3lKe6dwAw=; b=AX0AEdebnzhW8y5NzVwvaUt8WoXhmw1LeydXZIcgwqtrAM1Go+nYubqciiku23qS/s dnwGa7sbtL8Fu4bqvv8YcMWF8zHikJyUihAO1ofwGG+UuPg+Z/8F3mHAJDRajWAW9/Xq FlDwsvfCab3q/10vzGxc1FSHIG6F4EBH92mvM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=qcCQeVnW5Ity+41UcwYo0fpffL0qF3FJdGrs6eEcB0iN5RLymXccD5vJJIJFt2R69J OPA48gBYqnq9BjjeGpjDZnZL+JMFSO/65CvGrUky2dZG7uBmeSVNuLYSl4b43uFCGMlK vqlb4vs40Qbqi3C32cElA3qBeSdLOQ1ALTrSY= Received: by 10.90.94.7 with SMTP id r7mr2496080agb.45.1297540379233; Sat, 12 Feb 2011 11:52:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.90.96.15 with HTTP; Sat, 12 Feb 2011 11:52:38 -0800 (PST) From: Wordit Ltd Date: Sat, 12 Feb 2011 20:52:38 +0100 Message-ID: Subject: userCtx in Views To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org 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