Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting Current User

Status
Not open for further replies.

glewis1636

Programmer
Apr 26, 2004
39
US
I know that to get the current logged in user I can use the dbase function <<&username>>. However, I need to create a report in the GM+Views browser tab that is targeted to the current user. I've tried to put the above function in my url to pass as a parameter to my SQL Reporting Service report, but it doesn't appear to work. Here's the URL I'm passing...

Code:
{ 
window.location = [URL unfurl="true"]http://srv/reportserver?%2fProfessional+SQL+Reporting+Services%2fTest+User+Name&rs:Command=Render&UserName=&lt;&lt;&amp;UserName;&gt;&gt;[/URL] 
}

When I access the report, the parameter is blank.
 
Oops, BUSTED!!! That's what I get for asking the same question on different forums...

Paul

"Uhm..."
 
Like Kilroy 3.0? (is that the right version?)

Paul

"Uhm..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top