Reporting Services 2008: Using user!userid in Parameters

后端 未结 3 460
心在旅途
心在旅途 2021-01-03 05:23

I have a report with a parameter that is populated by a list of sales representatives returned by a query. I want to filter that list based on security rights of the user ru

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-03 05:35

    Change your query to:

    where UserName = @user
    

    ... and in the "Parameters" tab, assign "User!UserID" to the "@user" parameter.

提交回复
热议问题