OperationNames 클래스

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

상속 계층

System.Object
  Microsoft.ReportingServices.Interfaces.OperationNames

네임스페이스:  Microsoft.ReportingServices.Interfaces
어셈블리:   Microsoft.ReportingServices.SharePoint.UI.WebParts(Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces(Microsoft.ReportingServices.Interfaces.dll)

구문

‘선언
Public NotInheritable Class OperationNames
‘사용 방법
Dim instance As OperationNames
public sealed class OperationNames
public ref class OperationNames sealed
[<SealedAttribute>]
type OperationNames =  class end
public final class OperationNames

OperationNames 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 OperationNames Initializes a new instance of the OperationNames class.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

필드

  이름 설명
공용 필드정적 멤버 ExecuteReportDefinition Specifies the “Execute Report Definition” operation.
공용 필드정적 멤버 OperCancelJobs Specifies the operation "Cancel Jobs".
공용 필드정적 멤버 OperCreateAnySubscription Specifies the operation "Create Any Subscription".
공용 필드정적 멤버 OperCreateDatasource Specifies the operation "Create Data Source".
공용 필드정적 멤버 OperCreateFolder Specifies the operation "Create Folder".
공용 필드정적 멤버 OperCreateLink Specifies the operation "Create Link".
공용 필드정적 멤버 OperCreateModel Specifies the operation “Create Model”.
공용 필드정적 멤버 OperCreateReport Specifies the operation "Create Report".
공용 필드정적 멤버 OperCreateResource Specifies the operation "Create Resource".
공용 필드정적 멤버 OperCreateRoles Specifies the operation "Create Roles".
공용 필드정적 멤버 OperCreateSchedules Specifies the operation "Create Schedules".
공용 필드정적 멤버 OperCreateSnapshot Specifies the operation "Create Report History".
공용 필드정적 멤버 OperCreateSubscription Specifies the operation "Create Subscription".
공용 필드정적 멤버 OperDelete Specifies the operation "Delete".
공용 필드정적 멤버 OperDeleteAnySubscription Specifies the operation "Delete Any Subscription".
공용 필드정적 멤버 OperDeleteHistory Specifies the operation "Delete Report History".
공용 필드정적 멤버 OperDeleteRoles Specifies the operation "Delete Roles".
공용 필드정적 멤버 OperDeleteSchedules Specifies the operation "Delete Schedules".
공용 필드정적 멤버 OperDeleteSubscription Specifies the operation "Delete Subscription".
공용 필드정적 멤버 OperExecute Specifies the operation "Execute".
공용 필드정적 멤버 OperExecuteAndView Specifies the operation "Execute and View".
공용 필드정적 멤버 OperGenerateEvents Specifies the operation "Generate Events".
공용 필드정적 멤버 OperListHistory Specifies the operation "List Report History".
공용 필드정적 멤버 OperListJobs Specifies the operation "List Jobs".
공용 필드정적 멤버 OperManageSharedSchedules Specifies the operation "Manage Shared Schedules".
공용 필드정적 멤버 OperReadAnySubscription Specifies the operation "Read Any Subscription".
공용 필드정적 멤버 OperReadAuthorizationPolicy Specifies the operation "Read Security Policies".
공용 필드정적 멤버 OperReadContent Specifies the operation "Read Content".
공용 필드정적 멤버 OperReadDatasources Specifies the operation "Read Data Sources".
공용 필드정적 멤버 OperReadModelItemSecurityPolicies Specifies the operation “Read Model Item Security Policies”.
공용 필드정적 멤버 OperReadParameters Specifies the operation "Read Parameters".
공용 필드정적 멤버 OperReadPolicy Specifies the operation "Read Policy".
공용 필드정적 멤버 OperReadProperties Specifies the operation "Read Properties".
공용 필드정적 멤버 OperReadReportDefinition Specifies the operation "Read Report Definition".
공용 필드정적 멤버 OperReadRoleProperties Specifies the operation "Read Role Properties".
공용 필드정적 멤버 OperReadSchedules Specifies the operation "Read Schedules".
공용 필드정적 멤버 OperReadSubscription Specifies the operation "Read Subscription".
공용 필드정적 멤버 OperReadSystemProperties Specifies the operation "Read System Properties".
공용 필드정적 멤버 OperReadSystemSecurityPolicy Specifies the operation "Read System Security Policies".
공용 필드정적 멤버 OperUpdateAnySubscription Specifies the operation "Update Any Subscription".
공용 필드정적 멤버 OperUpdateContent Specifies the operation "Update Content".
공용 필드정적 멤버 OperUpdateDatasources Specifies the operation "Update Data Sources".
공용 필드정적 멤버 OperUpdateDeleteAuthorizationPolicy Specifies the operation "Update Security Policies".
공용 필드정적 멤버 OperUpdateModelItemSecurityPolicies Specifies the operation “Update Model Item Security Policies”.
공용 필드정적 멤버 OperUpdateParameters Specifies the operation "Update Parameters".
공용 필드정적 멤버 OperUpdatePolicy Specifies the operation "Update Policy".
공용 필드정적 멤버 OperUpdateProperties Specifies the operation "Update Properties".
공용 필드정적 멤버 OperUpdateReportDefinition Specifies the operation "Update Report Definition".
공용 필드정적 멤버 OperUpdateRoleProperties Specifies the operation "Update Role Properties".
공용 필드정적 멤버 OperUpdateSchedules Specifies the operation "Update Schedules".
공용 필드정적 멤버 OperUpdateSubscription Specifies the operation "Update Subscription".
공용 필드정적 멤버 OperUpdateSystemProperties Specifies the operation "Update System Properties".
공용 필드정적 멤버 OperUpdateSystemSecurityPolicy 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.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.ReportingServices.Interfaces 네임스페이스