ReportingService2010.GetSystemPolicies ReportingService2010.GetSystemPolicies ReportingService2010.GetSystemPolicies Method

定义

返回系统策略,包括组和关联的角色。此方法仅适用于本机模式。 Returns the system policies, including groups and associated roles.This method only applies to native mode.

public:
 cli::array <ReportService2010::Policy ^> ^ GetSystemPolicies();
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetSystemPolicies", 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("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public ReportService2010.Policy[] GetSystemPolicies ();
Public Function GetSystemPolicies () As Policy()
返回
Policy[]

Policy 对象的数组,它包含与组及其关联的角色相关的信息。 An array of Policy objects that contains information about groups and their associated roles.

注解

下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.

SOAP 标头使用情况SOAP Header Usage (In) TrustedUserHeaderValue(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
纯模式所需的权限Native Mode Required Permissions ReadSystemSecurityPolicy (系统)ReadSystemSecurityPolicy (System)
SharePoint 模式所需的权限SharePoint Mode Required Permissions 不支持Not supported

此方法将引发OperationNotSupportedSharePointMode异常时在 SharePont 模式下调用。This method throws an OperationNotSupportedSharePointMode exception when invoked in SharePont mode.

适用于