문제

Is there a way, without having to trawl through each report and see which users have access to them? Is it possible to query the ReportServer database to get a list of reports and which users have access to the report?

Or even if I have the user is there a way of knowing all the reports that a specific user has access to?

I have a list of users that I need to look into through the Users table with the ReportServer, can these users be joined to another table in the database to return what I'm looking for?

Thanks

도움이 되었습니까?

해결책

I used this script below and added a WHERE clause for specific users and could see who has access to what reports etc. Worked nicely :)

select <br> C.UserName, D.RoleName, D.Description, E.Path, E.Name <br>
from dbo.PolicyUserRole A <br>
   inner join dbo.Policies B on A.PolicyID = B.PolicyID <br>
   inner join dbo.Users C on A.UserID = C.UserID <br>
   inner join dbo.Roles D on A.RoleID = D.RoleID <br>
   inner join dbo.Catalog E on A.PolicyID = E.PolicyID <br>
order by C.UserName   

This is the source link - SSRS - Determine report permissions via ReportServer database tables?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top