/*
 * call-seq:
 *    conn.pass()
 *
 * Returns the authenticated user name.
 */
static VALUE
pgconn_pass(VALUE self)
{
        char *user = PQpass(get_pgconn(self));
        if (!user) return Qnil;
        return rb_tainted_str_new2(user);
}