?
Solved

SSRS - Windows User Name as Parameter

Posted on 2014-04-23
2
Medium Priority
?
2,725 Views
Last Modified: 2014-04-23
Team - I have a SSRS Report which pulls data from various tables in SQL.

Lets say Usertable is a table where  NTlogin, Name and team are saved.
Datatable is a table where ProjectNumber, Name, Details are saved.

The SSRS link has access to all users within the domain. What i need to do is.,

If I open the report, SSRS should get my username & fetch the Name column from the usertable & popoulate only the Projectnumber & Details matching Name column from Datatable.

How do i do this?
0
Comment
Question by:Manju
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 6

Author Comment

by:Manju
ID: 40017547
oh btw, i tried using "User!UserID" to get the windows username but it comes with domain name & "/". How do i get rid of that?
0
 
LVL 6

Accepted Solution

by:
Manju earned 0 total points
ID: 40017583
got it too.., used =Right(User!UserID, Len(User!UserID) - InStr(User!UserID, "\"))
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Time Corrections for Reports Working with a report, we made some interesting discoveries about the time corrections/updates We are using the following Parameters: Starting Entered Date (Date) formatted as Data type: "Date/Time" Ending Entered …
It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only see…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

718 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