TechNet
Export (0) Print
Expand All

OperationNames Class

 

Updated: February 25, 2016

Contains the field names and corresponding values for operations that users can perform on items in SQL Server Reporting Services.

Namespace:   Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

System.Object
  Microsoft.ReportingServices.Interfaces.OperationNames

public sealed class OperationNames

NameDescription
System_CAPS_pubmethodOperationNames()

Initializes a new instance of the OperationNames class.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticExecuteReportDefinition

Specifies the “Execute Report Definition” operation.

System_CAPS_pubfieldSystem_CAPS_staticOperCancelJobs

Specifies the operation "Cancel Jobs".

System_CAPS_pubfieldSystem_CAPS_staticOperCreateAnySubscription

Specifies the operation "Create Any Subscription".

System_CAPS_pubfieldSystem_CAPS_staticOperCreateDatasource

Specifies the operation "Create Data Source".

System_CAPS_pubfieldSystem_CAPS_staticOperCreateFolder

Specifies the operation "Create Folder".

System_CAPS_pubfieldSystem_CAPS_staticOperCreateLink

Specifies the operation "Create Link".

System_CAPS_pubfieldSystem_CAPS_staticOperCreateModel

Specifies the operation “Create Model”.

System_CAPS_pubfieldSystem_CAPS_staticOperCreateReport

Specifies the operation "Create Report".

System_CAPS_pubfieldSystem_CAPS_staticOperCreateResource

Specifies the operation "Create Resource".

System_CAPS_pubfieldSystem_CAPS_staticOperCreateRoles

Specifies the operation "Create Roles".

System_CAPS_pubfieldSystem_CAPS_staticOperCreateSchedules

Specifies the operation "Create Schedules".

System_CAPS_pubfieldSystem_CAPS_staticOperCreateSnapshot

Specifies the operation "Create Report History".

System_CAPS_pubfieldSystem_CAPS_staticOperCreateSubscription

Specifies the operation "Create Subscription".

System_CAPS_pubfieldSystem_CAPS_staticOperDelete

Specifies the operation "Delete".

System_CAPS_pubfieldSystem_CAPS_staticOperDeleteAnySubscription

Specifies the operation "Delete Any Subscription".

System_CAPS_pubfieldSystem_CAPS_staticOperDeleteHistory

Specifies the operation "Delete Report History".

System_CAPS_pubfieldSystem_CAPS_staticOperDeleteRoles

Specifies the operation "Delete Roles".

System_CAPS_pubfieldSystem_CAPS_staticOperDeleteSchedules

Specifies the operation "Delete Schedules".

System_CAPS_pubfieldSystem_CAPS_staticOperDeleteSubscription

Specifies the operation "Delete Subscription".

System_CAPS_pubfieldSystem_CAPS_staticOperExecute

Specifies the operation "Execute".

System_CAPS_pubfieldSystem_CAPS_staticOperExecuteAndView

Specifies the operation "Execute and View".

System_CAPS_pubfieldSystem_CAPS_staticOperGenerateEvents

Specifies the operation "Generate Events".

System_CAPS_pubfieldSystem_CAPS_staticOperListHistory

Specifies the operation "List Report History".

System_CAPS_pubfieldSystem_CAPS_staticOperListJobs

Specifies the operation "List Jobs".

System_CAPS_pubfieldSystem_CAPS_staticOperManageSharedSchedules

Specifies the operation "Manage Shared Schedules".

System_CAPS_pubfieldSystem_CAPS_staticOperReadAnySubscription

Specifies the operation "Read Any Subscription".

System_CAPS_pubfieldSystem_CAPS_staticOperReadAuthorizationPolicy

Specifies the operation "Read Security Policies".

System_CAPS_pubfieldSystem_CAPS_staticOperReadContent

Specifies the operation "Read Content".

System_CAPS_pubfieldSystem_CAPS_staticOperReadDatasources

Specifies the operation "Read Data Sources".

System_CAPS_pubfieldSystem_CAPS_staticOperReadModelItemSecurityPolicies

Specifies the operation “Read Model Item Security Policies”.

System_CAPS_pubfieldSystem_CAPS_staticOperReadParameters

Specifies the operation "Read Parameters".

System_CAPS_pubfieldSystem_CAPS_staticOperReadPolicy

Specifies the operation "Read Policy".

System_CAPS_pubfieldSystem_CAPS_staticOperReadProperties

Specifies the operation "Read Properties".

System_CAPS_pubfieldSystem_CAPS_staticOperReadReportDefinition

Specifies the operation "Read Report Definition".

System_CAPS_pubfieldSystem_CAPS_staticOperReadRoleProperties

Specifies the operation "Read Role Properties".

System_CAPS_pubfieldSystem_CAPS_staticOperReadSchedules

Specifies the operation "Read Schedules".

System_CAPS_pubfieldSystem_CAPS_staticOperReadSubscription

Specifies the operation "Read Subscription".

System_CAPS_pubfieldSystem_CAPS_staticOperReadSystemProperties

Specifies the operation "Read System Properties".

System_CAPS_pubfieldSystem_CAPS_staticOperReadSystemSecurityPolicy

Specifies the operation "Read System Security Policies".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateAnySubscription

Specifies the operation "Update Any Subscription".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateContent

Specifies the operation "Update Content".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateDatasources

Specifies the operation "Update Data Sources".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateDeleteAuthorizationPolicy

Specifies the operation "Update Security Policies".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateModelItemSecurityPolicies

Specifies the operation “Update Model Item Security Policies”.

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateParameters

Specifies the operation "Update Parameters".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdatePolicy

Specifies the operation "Update Policy".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateProperties

Specifies the operation "Update Properties".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateReportDefinition

Specifies the operation "Update Report Definition".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateRoleProperties

Specifies the operation "Update Role Properties".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateSchedules

Specifies the operation "Update Schedules".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateSubscription

Specifies the operation "Update Subscription".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateSystemProperties

Specifies the operation "Update System Properties".

System_CAPS_pubfieldSystem_CAPS_staticOperUpdateSystemSecurityPolicy

Specifies the operation "Update System Security Policies."

The OperationNames class contains fields that represent the constant string values for operation names in Reporting Services. These operation names can be used by your security extension to return a list of permissions for a user of a given item in the report server database. For more information, see the GetPermissions method of the IAuthorizationExtension interface.

You can develop Report Server Web service client applications in such a way as to provide functionality and appearance based on the permissions of the current user. Client applications, such as Report Manager, rely on the Web service method GetPermissions to return a set of permission names that correspond to operations in Reporting Services. When a client makes a call to GetPermissions, the Web service responds with a set of permissions based on the item being accessed and the user making the request. A typical call to the root or Home item in the report server database for a user that is assigned the Browser Role might look like the following:

// C# Web service code
string[] permissions = rs.GetPermissions("/");

foreach (string p in permissions)
{
   Console.WriteLine(p);
}

The above code returns a single permission for Browser users: Read Properties. The user is granted access to view the contents and properties, but not to modify or delete the contents. Nor is the user allowed to update security policies or view data source information. The Browser role is a very restrictive role.

Because clients can call GetPermissions in order to discover what permissions the user has, a client application can be tailored for each user. In Report Manager, Browser users do not have access to the Security Properties or Data Source Properties pages for a report. Nor is a Browser user permitted to see site settings or other administrator information, because Report Manager makes a call to GetPermissions and determines ahead of time which pages and tabs to display. Because of a client application's reliance on named permissions, your security extension must implement the GetPermissions method of the IAuthorizationExtension interface.

To support your implementation of GetPermissions, the security extension API provides you with the OperationNames class, which contains a set of constant fields representing each of the available permissions in Reporting Services. When you implement GetPermissions, you should analyze the security descriptor for the item and the current user and return a list of permissions based on the access control list for the current user.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft