Passing NT username as a parameter for report

  • I am writing a report so that only the logged in user will see his or her own data. I have a table that maps the userid to a specific value, a general ledger account number, and I want to pass the username to a report parameter.

    Does anyone have an idea how I can do this?

    Thanks.

    Ralph

  • use SYSTEM_USER in the where statement of the query, make sure you use NT auth.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply