Export (0) Print
Expand All
Expand Minimize

ReportingService2005.GetModelItemPolicies Method

SQL Server 2005

Retrieves the policies associate with a model item.

Namespace: Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005
Assembly: ReportService2005 (in reportingservice2005.dll)

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetModelItemPolicies", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction=SoapHeaderDirection.Out)] 
public Policy[] GetModelItemPolicies (
	string Model,
	string ModelItemID,
	out bool InheritParent
)
/** @attribute SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetModelItemPolicies", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped) */ 
/** @attribute SoapHeaderAttribute("ServerInfoHeaderValue", Direction=SoapHeaderDirection.Out) */ 
public Policy[] GetModelItemPolicies (
	String Model, 
	String ModelItemID, 
	/** @attribute OutAttribute() */ /** @ref */ boolean InheritParent
)
JScript does not support passing value-type arguments by reference.

Parameters

Model

The full name of the model.

ModelItemID

The ID of the model item in the model. If omitted, the permissions for the model root are returned.

InheritParent

Indicates whether the policies are inherited from the item's parent.

Return Value

An array of Policy objects that describes the groups and their roles that are associated with the item in the catalog.

Groups and users in the security database may be renamed after a policy is created. When the policies are returned from this Web service method, the report server resolves the SIDs to the correct group/user names before returning polices.


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

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft