Solved

How to get User's full Name in SQL server reporting services.

Posted on 2006-06-27
4
1,902 Views
Last Modified: 2012-06-27
Hi,
I have to pass the user's full name into a parameter. I am able to get the userid from Globals.UserId but I am not able to get the user's full name.
Is there any way to get the user's full name (not userid) in SQL server reporting services.

Thanks
0
Comment
Question by:hmnpa
4 Comments
 
LVL 4

Accepted Solution

by:
dnsvh earned 250 total points
ID: 16996610
The answer is 'yes' and 'no'.  There is no built in function that will allow you to retrieve a user's full name.  However, through SQL Enterprise Manager, you can add Active Directory as a linked server and then write SQL statements against Active Directory to get the user's full name.  Here is an article that describes how to create Active Directory as a linked server:

http://www.codeguru.com/Csharp/Csharp/cs_data/searching/article.php/c9953/#more

Hope that helps.

Derrick
0
 

Author Comment

by:hmnpa
ID: 17003393
Thanks Derrick,
Is there any way to make assembly and read the AD and use that assembly in SQL Reporting?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to make a summary function from multiple fields? 3 72
SSRS 2012 Report building- Expressions 3 78
REP-56048: Engine rwEng-0 crashed 3 535
Monitoring Tools 1 60
1. Set up your parameter at the report level as usual, check the box Multi-value, and set the Data Type to String 2. Set the Stored Procedure Parameter to varchar(max)  --<---- This part here is the key to it's success Example:    @cst_key var…
Hello, In my precious Article  (http://www.experts-exchange.com/Database/Reporting/A_15280-Create-Project-in-Microstrategy-Part-I.html)we saw the Configuration part for Microstrategy which included Metadata Creation and DataSource Preparation as …
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now