Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 35736

Reporting Services Task IDs

$
0
0

When working with Roles and Tasks in SQL Server Reporting Services you may need to create new roles containing a list of specific tasks. In specifying these roles programmatically you'll need to provide the TaskIDs for the tasks assigned to the role.

For example:

Task[] tasks = new Task[] {   
    new Task() { TaskID="4BF862B5-10D0-4793-B075-802F7775561E"},
    new Task() { TaskID="3246FDF7-16FB-4802-ABFA-76D4F4A8AD62"}, 
}; 
client.CreateRole("My new role", "Description", tasks);

I've found very little public documentation about these Task Ids and what they are. 

Here is the list of tasks and their related task ids. The task mask is the corresponding bit mask value from the TaskMask column in the Roles table in the ReportServer database.

Task Name (EN-US)Task IDSystem TaskTask Mask
Consume Reports 4BF862B5-10D0-4793-B075-802F7775561E 0 0000000000000001
Create Linked Reports 3246FDF7-16FB-4802-ABFA-76D4F4A8AD62 0 0100000000000000
Manage All Subscriptions 7813C99B-3F84-4d02-930F-72FA3B86024A 0 0000000000100000
Manage Data Sources AD4523AD-09B6-46ab-A7F0-AD1F52449FE1 0 0000000000001000
Manage Folders 683665AB-EE4B-4026-99AE-68A9899F8B6E 0 0000000100000000
Manage Individual Subscriptions F95F31D0-834A-4c0e-B290-E3E4477908CA 0 0000000001000000
Manage Models F59546B7-49A1-41de-8E9A-34137F3D677F 0 0000000000000010
Manage Report History 75D856B8-2FC1-41c9-8DFA-FE0FF6153C20 0 0000000010000000
Manage Reports 88552A24-99BA-46ab-90CD-EF66FD3E444D 0 0001000000000000
Manage Resources 1D574E69-B01D-4278-A25A-DEE6B3790F81 0 0000010000000000
Set Security for Individual Items  E96A7928-F3A5-409d-A6AA-0808172B28CB 0 1000000000000000
View Data Sources B96D28BB-23D0-4a32-B57A-7C12EBDD0704 0 0000000000010000
View Resources 993C580B-3FBF-444b-B85E-A8DA50ADF40F 0 0000100000000000
View Folders 2FBF7AE5-0DB6-46f2-B9BB-480794FBC97E 0 0000001000000000
View Models A1BDCA29-F891-418f-BEAA-43E937F800C4 0 0000000000000100
View Reports E2723F22-E29C-496b-B981-1D775F45FC09 0 0010000000000000
Execute Report Definitions B8326178-0D1A-4054-B591-1CE98F492FCF 1 000000001
Generate Events 79D94B43-57B0-45fd-8EB3-A8654C347413 1 000000100
Manage Jobs EC6EE51B-0D96-478b-8477-826AA7637B68 1 000000010
Manage Report Server Properties DED0947B-E39C-4a03-A512-10AF2933772B 1 000100000
Manage Report Server Security 075BE56B-589C-47ed-B072-5B5EDCF80C66 1 010000000
Manage Roles A7E17983-FFC5-4252-9EBC-DF5C495A4CFA 1 100000000
Manage Shared Schedules 7663B035-0C99-488d-942B-7B36345178EB 1 000001000
View Report Server Properties D07A969D-0B11-4a4a-8685-7E0E6DEEBA36 1 001000000
View Shared Schedules 20278B55-A582-4926-8EB6-5C0D27CED8F9 1 000010000

In addition, the default roles with their relevant tasks are listed below:

Role Name (EN-US)Tasks (EN-US)
Browser View Reports
View Resources
View Folders
Manage Individual Subscriptions
View Models
Content Manager Set Security for Individual Items
Create Linked Reports
View Reports
Manage Reports
View Resources
Manage Resources
View Folders
Manage Folders
Manage Report History
Manage Individual Subscriptions
Manage All Subscriptions
View Data Sources
Manage Data Sources
View Models
Manage Models
Consume Reports
Model Item Browser 69383E55-A810-41f4-8A89-69A0D5976F49
My Reports Create Linked Reports
View Reports
Manage Reports
View Resources
Manage Resources
View Folders
Manage Folders
Manage Report History
Manage Individual Subscriptions
View Data Sources
Manage Data Sources
Publisher Create Linked Reports
Manage Reports
Manage Resources
Manage Folders
Manage Data Sources
Manage Models
Report Builder View Reports
View Resources
View Folders
Manage Individual Subscriptions
View Models
Consume Reports
System Administrator Manage Roles
Manage Report Server Security
Manage Report Server Properties
Manage Shared Schedules
Manage Jobs
Execute Report Definitions
System User D07A969D-0B11-4a4a-8685-7E0E6DEEBA36
View Shared Schedules
Execute Report Definitions

Viewing all articles
Browse latest Browse all 35736

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>