How to set the user for ReportViewer in local mode?

Discussion in 'ASP .Net Web Controls' started by Dennis McCarthy, Apr 7, 2009.

  1. I am using the WebForms report viewer in local mode in an ASP.NET page. My
    web application does its own authentication and access control, so Windows
    Integrated Authentication is disabled and anonymous access is enabled for the
    virtual directory. The report RDL uses User!UserID. This is evaluating to
    the Windows user account for anonymous access. I need it to evaluate to one
    of my application user accounts. I have tried setting the principal on the
    current thread and on the current HTTP context, but neither affected the
    value of User!UserID. I have found articles that explain how to do this with
    a custom security extension in server mode reporting, but nothing on how to
    do this in local mode reporting.

    What must I do to make User!UserID evaluate to an application user when the
    ReportViewer is running in local mode?

    Thanks,
    Dennis
    Dennis McCarthy, Apr 7, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John J Lee
    Replies:
    3
    Views:
    456
    bruno at modulix
    Dec 1, 2005
  2. Edward Loper
    Replies:
    0
    Views:
    445
    Edward Loper
    Aug 7, 2007
  3. John J Lee
    Replies:
    0
    Views:
    503
    John J Lee
    Aug 7, 2007
  4. Madison

    Reportviewer Local Mode

    Madison, Oct 5, 2007, in forum: ASP .Net Web Controls
    Replies:
    18
    Views:
    1,317
    Steven Cheng[MSFT]
    Nov 7, 2007
  5. John G

    ReportViewer Local Mode Excel Hyperlinks

    John G, May 18, 2010, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    930
    John G
    May 18, 2010
Loading...

Share This Page