Using Login Credentials as a parameter when running Report in SQL Reporting Services 2008

Posted on 2018-03-13
High Priority
Last Modified: 2018-03-14
I have a Monthly expenses report deployed to a 2008 Reporting Service’s Server.
Individuals can run this report by choosing their name from a drop down list.
However they can also chose other names and run the report, and this is causing a privacy issue.
Is there some way I can use the users logon credentials (it is an AD network) as a parameter and not use the drop down list of names?
I am using Visual Studio 2008 for modifications.
Any advice appreciated, thanks
Question by:blossompark
  • 2
LVL 14

Accepted Solution

Arifhusen Ansari earned 3000 total points
Yes. You can do the same for AD network user name and password.

There is a variable in ssrs report. This variable will give you the ad username of person executing report.

Store parameter values in table in sql and create data set based on that table.

You can pass UserID variable value to data set query parameter. It will only show user who is executing report.

refer below screenshot for userid variable location.

HOpe it will help you.

Author Comment

Perfect! Exactly what I wanted !! Thank you!!

Author Closing Comment


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Join & Write a Comment

In this short article I will be talking about two functions in the SQL Server Reporting Services (SSRS) function stack.  Those functions are IIF() and Switch().  And I'll be showing you how easy it is to add an Else part to the Switch function. T…
Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
If you are looking for an automated tool which can generate reports for Outlook emails and other items from PST file, then you can go for Kernel PST Reporter tool. The reports which are created by this tool are helpful to analyze and understand PST …

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question