ReportExecutionService.SetExecutionCredentials 메서드

정의

현재 보고서 실행과 연결된 자격 증명을 설정합니다.

public:
 ReportExecution2005::ExecutionInfo ^ SetExecutionCredentials(cli::array <ReportExecution2005::DataSourceCredentials ^> ^ Credentials);
public ReportExecution2005.ExecutionInfo SetExecutionCredentials (ReportExecution2005.DataSourceCredentials[] Credentials);
member this.SetExecutionCredentials : ReportExecution2005.DataSourceCredentials[] -> ReportExecution2005.ExecutionInfo
Public Function SetExecutionCredentials (Credentials As DataSourceCredentials()) As ExecutionInfo

매개 변수

Credentials
DataSourceCredentials[]

DataSourceCredentials 배열입니다.

반환

새 실행을 포함하는 ExecutionInfo 개체입니다.

설명

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

SOAP 헤더 사용 (In) TrustedUserHeaderValue

(In) ExecutionHeaderValue

(Out) ServerInfoHeaderValue
기본 모드 필수 권한 기본 보고서 및 모든 하위 보고서에서: ReadProperties ANDExecuteAndView
SharePoint 모드 필수 권한 기본 보고서 및 모든 하위 보고서에서 다음을 수행합니다.<xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

자격 증명이 설정 AllowQueryExecutionfalse되고 가 일 때 스냅샷 있으면 스냅샷 지워지고 모든 매개 변수가 기본값으로 다시 설정됩니다.

동일한 보고서를 요청하는 여러 데이터 원본이 있는 경우 모든 자격 증명을 동시에 지정해야 합니다. 자격 증명 집합을 변경해야 하는 경우 모든 자격 증명을 다시 제공해야 합니다.

자격 증명은 실행 수명 동안만 유지되며, 그 후에는 다시 지정해야 합니다.

적용 대상