Link to home
Create AccountLog in
Avatar of zx10r
zx10r

asked on

Passing windows login as a paramter in SSRS

How can i pass a windows login or active directory username as a parameter in SSRS. I have a table with users in the database and based on the roles those users have i need to pass that and show what can be seen on a report.

How can i do this.

Thanks
Avatar of PedroCGD
PedroCGD
Flag of Portugal image

From an ASP application?!
the parameter in SSRS is a string like another normal string...
You have a stored procedure in your database that receive the user as parameter and return to the report only the rows that the user can see!
Helped?!
Cheers!
Avatar of zx10r
zx10r

ASKER

No this is from the ReportServer. But my question is how do i pass that Windows Login to the ReportServer as a parameter?
ASKER CERTIFIED SOLUTION
Avatar of jgv
jgv

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of zx10r

ASKER

Works like a charm. Thanks =)