How to list SSRS Report permissions

 

Have you ever needed to know which groups or users have access to your reports?

Use the following query to get a comprehensive list of who has access to what.

USE ReportServer
GO
select u.UserName, r.RoleName, r.Description, c.Path, c.Name 
from dbo.PolicyUserRole pur
   inner join dbo.Users u on pur.UserID = u.UserID
   inner join dbo.Roles r on pur.RoleID = r.RoleID
   inner join dbo.Catalog c on pur.PolicyID = c.PolicyID
order by u.UserName  

Sample output (fist 4 lines from my test machine):

UserName RoleName Description Path Name

BUILTIN\Administrators

Browser

May view folders, reports and subscribe to reports.

 

 

BUILTIN\Administrators

Browser

May view folders, reports and subscribe to reports.

/BT Demo

BT Demo

BUILTIN\Administrators

Browser

May view folders, reports and subscribe to reports.

/BT Demo/Computer Information for a specific computer

Computer Information for a specific computer

BUILTIN\Administrators

Browser

May view folders, reports and subscribe to reports.

/BT Demo/Server Uptime Report

Server Uptime Report

Advertisements
This entry was posted in SQL, SQL Server, SQL Server 2012, SSRS. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s