Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

ReportingService2010.GetSystemPermissions Method

Retrieves the system permissions of the current user. This method only applies to native mode.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

public function GetSystemPermissions() : String[]

Return Value

Type: System.String[]
An array of String objects that contains a list of permissions associated with the system tasks and roles to which the user is assigned.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions


SharePoint Mode Required Permissions

Not supported

This method throws an OperationNotSupportedSharePointMode exception when invoked in SharePont mode.

To compile this code example, you must reference the Reporting Services WSDL and import certain namespaces. For more information, see Compiling and Running Code Examples.

The following code example uses the GetSystemPermissions method to retrieve a list of permissions associated with the system tasks and roles to which the current user is assigned:


using System;
using System.IO;
using System.Text;
using System.Web.Services.Protocols;

class Sample
   public static void Main()
      ReportingService2010 rs = new ReportingService2010();
      rs.Credentials = System.Net.CredentialCache.DefaultCredentials;

      string[] userpermissions = rs.GetSystemPermissions();

      for (int t = 0; t <= userpermissions.GetUpperBound(0); t++)



Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft