admin管理员组文章数量:1122833
I'm using SSRS 2019. I 200+ reports and multiple users, with varying access levels. I am familiar with granting access to reports, subscriptions etc. but I am looking to interrogate the source of these access records. Ideally, I would like to create a single output: For each SSRS report on the server, generate a list of named users and their access level.
Many Thanks.
I'm using SSRS 2019. I 200+ reports and multiple users, with varying access levels. I am familiar with granting access to reports, subscriptions etc. but I am looking to interrogate the source of these access records. Ideally, I would like to create a single output: For each SSRS report on the server, generate a list of named users and their access level.
Many Thanks.
Share Improve this question asked yesterday pseudonympseudonym 11 bronze badge1 Answer
Reset to default 0You can query what User has what Role for which Report from the SSRS database somewhat like so:
select Report = C.[Path]
, [User] = U.UserName
, [Role] = R.RoleName
from [Catalog] C
inner join PolicyUserRole PUR on PUR.PolicyID = C.PolicyID
inner join Roles R on R.RoleID = PUR.RoleID
inner join Users U on U.UserID = PUR.UserID
where C.[Type] = 2 -- report
You could use R.TaskMask
to output all the individual permissions, but it's a 16-bit mask and I'm not gonna figure it out right now. Should be easy, though, just a little tedious.
本文标签: reporting servicesSSRS Report Access by userStack Overflow
版权声明:本文标题:reporting services - SSRS Report Access by user - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736281851a1926454.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论