ReportingService2010.ChangeSubscriptionOwner(String, String) 메서드

정의

구독의 소유자를 변경합니다.

public:
 void ChangeSubscriptionOwner(System::String ^ SubscriptionID, System::String ^ NewOwner);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ChangeSubscriptionOwner", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void ChangeSubscriptionOwner (string SubscriptionID, string NewOwner);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ChangeSubscriptionOwner", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.ChangeSubscriptionOwner : string * string -> unit
Public Sub ChangeSubscriptionOwner (SubscriptionID As String, NewOwner As String)

매개 변수

SubscriptionID
String

구독 ID입니다.

NewOwner
String

권한 부여 확장 프로그램에서 정의된 사용자 ID입니다.

특성

설명

다음 표에서는 이 작업에 대한 헤더 및 사용 권한 정보를 보여 줍니다.

SOAP 헤더 사용 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
기본 모드 필수 권한 사용자는 BUILTIN\Administrators 그룹의 구성원여야 합니다.
SharePoint 모드 필수 권한 <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb>

이 메서드는 로 Owner 식별된 SubscriptionID 구독의 속성을 값 newOwner으로 변경합니다. 그러면 구독이 새 소유자의 보안 컨텍스트에서 실행되고 User!UserID 보고서의 필드에 값 newOwner이 표시됩니다.

참고

이 메서드는 악의적인 사용자가 추가 데이터 액세스 권한을 얻기 위해 사용할 수 있습니다. 이러한 발생률을 진단하기 위해 이 메서드가 호출될 때마다 작업의 세부 정보가 추적 로그에 기록됩니다.

적용 대상