all groups > sql server reporting services > march 2006 >
You're in the

sql server reporting services

group:

Report Builder Security Filter Examples


Report Builder Security Filter Examples Bruce VB
3/3/2006 2:19:51 PM
sql server reporting services:
Does anyone have any examples on how to use the security filters in
report builder models. Do you setup a standard filter. How do you pass
the user back to the server in the query?

Thanks
Re: Report Builder Security Filter Examples tim
3/6/2006 8:59:17 AM
I have the same type of question...I need to be able to pass parameters
(userid) back to my model due to security setup in our system...we have
several 'user-access' tables for varying levels of security. For
example, any given user has access to specific accounts, but only
certain members within that account and only specific coverages within
those members. I don't see how I can set this up using roles but
perhaps I'm just missing it.
Re: Report Builder Security Filter Examples Jéjé
3/6/2006 7:13:51 PM
the getuserid() function can be used... but... reportbuilder keep in cache
the first user which access a filter object where the getuserid() function
is used!!!

so if an "administrator" try the model, then every other users use the same
access!!!
but using the getuserid() into reportbuilder himself (the user create a
report and explicitly setup a filter) then the ID used is the right one, but
its not a good solution.

I'll do some other tests and keep you informed.


[quoted text, click to view]

Re: Report Builder Security Filter Examples Bob Meyers - MSFT
3/14/2006 7:59:27 PM
I will be posting an entry on my blog (http://blogs.msdn.com/bobmeyers)
shortly explaining how to use security filters.

FYI, the incorrect behavior of the GETUSERID() function is a known issue
that is fixed in SP1, which will be available shortly.

[quoted text, click to view]
Re: Report Builder Security Filter Examples Jéjé
3/14/2006 11:56:10 PM
thanks!

your blog appear to be great and usefull.
favorites favorites... ;-)

"Bob Meyers - MSFT" <BobMeyersMSFT@discussions.microsoft.com> wrote in
message news:D083E8EC-F89C-4E6A-AE99-0BEFDE4F877B@microsoft.com...
[quoted text, click to view]

Re: Report Builder Security Filter Examples tim
3/15/2006 10:24:45 AM
Thanks Bob...I look forward to it....I am stumped.

[quoted text, click to view]
Re: Report Builder Security Filter Examples tim
4/5/2006 9:07:06 PM
how can I get SQL userid into the model rather than the Windows ID?
Re: Report Builder Security Filter Examples tim
4/5/2006 10:10:27 PM
thanks...was finally able to use SUSER_SNAME(SUSER_SID()) to get what I
needed. Now I'm trying to get the filters to work with it.
Re: Report Builder Security Filter Examples Jéjé
4/6/2006 12:27:59 AM
to use the SQL Server user id , use SQL servers syntaxes (suser_sname or
user_name and other user_id functions)

[quoted text, click to view]

Re: Report Builder Security Filter Examples Katmac [MS]
4/6/2006 3:57:02 PM
Note that with the SP1 version of BOL (which will be available for download
when SP1 is released), there is a tutorial that walks you through how to set
up security filters using the GetUserID().

[quoted text, click to view]
AddThis Social Bookmark Button