Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / July 2008

Tip: Looking for answers? Try searching our database.

Capturing the ID of the user running the report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
msnews.microsoft.com - 02 Jul 2008 11:24 GMT
Hello,

Whenever my report is being run, I need to make a log entry to a table about
the person who has executed the report. I am in the process of writing that
INSERT command.

Iam able to capture the ID of the user running the report by the Gobal
expression (=User!UserID), but how can I export this value to the table?

Thank you,
SQL_Help
msnews.microsoft.com - 02 Jul 2008 12:26 GMT
Please ignore. I figured it out. In the dataset, just create a parameter
@UserID    = User!UserID

> Hello,
>
[quoted text clipped - 7 lines]
> Thank you,
> SQL_Help
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.