There is a global variable for userid. In the expression builder you will
see it. It returns the domain\userid. Have a table that you have in your
join that used this value. Have a query parameter that you map to an
expression instead of to a report parameter. It will automatically create a
report parameter for you. In the dataset click on the ..., parameters tab
and map to the expression. Then go to layout, Report Menu, Report Parameters
and delete the unneeded report parameter. RS blurs query parameters and
report parameters but they are two different things. Being able to map a
query parameter to an expression is very useful.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
[quoted text, click to view] "Jimbo" <Jimbo@discussions.microsoft.com> wrote in message
news:5AAEF3B2-0212-42EF-AF86-271583B6A073@microsoft.com...
> Capture the user login, use that to lookup your own security table to
> determine what they can/cannot see - use this data to filter your report.
>
>
>
> "MIB" wrote:
>
>> Thanks for your help.
>> We are using reporting services on a server (B), but the data are on an
>> another server (B). I have applied security for different type of
>> report,
>> but i would like to know how could i for one report filter data for each
>> user.
>> Example: I have a report on Sales USA, only people in the groupe
>> SALES_USA
>> can access to the report, but when a rep of NY is opening the report i
>> would
>> like to filter for this rep, on the same way for the rep of LA. So each
>> rep
>> will only see data concerning his city.
>> Again thank you