Forms authentication is just a way to have your own authentication, it does
not provide any new features.
As far as sending a the userid that is easy. What you need to do is map the
query parameter to the global variable User!userid (that is from memory so
it might be slightly different. To do this in the data tab click on ..., go
to the parameter tab. For your query parameter (which will be currently
mapped to a report parameter) on the right column pick expression which
brings you to the expression builder. The select this from the global
variables. Note that the userid will also have your domain ( like
domainname\userid) so if you want just the userid you will need to strip off
the domainname in your stored procedure).
This global variable is the user of the report, it is not the user used to
get the data (which is how it should be, I always have a specific readonly
user that is used for the data source).
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
[quoted text, click to view] "Ravi R" <bofobofo@yahoo.com> wrote in message
news:1109731773.748477.239980@f14g2000cwb.googlegroups.com...
> Hello all,
>
> I would like to know if there is anyway to send the UserID of the
> person running reports to the SQL server as a parameter to the stored
> procedure or sthg like that ?
>
> Currently we are using the default interface of the RS. Not implemented
> Forms Auth and havent integrated RS into a Web app.
>
> I donno anything about Forms Auth, but would like to know if it
> provides a comprehensive logging facility where I can have info of a
> User, the reports he ran etc.
>
> Thanks
> Ravi
>