ReportingService2005.GetModelItemPermissions(String, String) Method

Definition

检索与模型层次结构中的项相关联的用户权限。Retrieves the user permissions associated with an item in the model hierarchy.

public:
 cli::array <System::String ^> ^ GetModelItemPermissions(System::String ^ Model, System::String ^ ModelItemID);
public string[] GetModelItemPermissions (string Model, string ModelItemID);
member this.GetModelItemPermissions : string * string -> string[]
Public Function GetModelItemPermissions (Model As String, ModelItemID As String) As String()

Parameters

Model
String

模型的完整名称。The full name of the model.

ModelItemID
String

模型中项的 ID。The ID of the item in the model. 如果忽略该参数,则返回模型根的权限。If omitted, the permissions for the model root are returned.

Returns

String[]

一个String数组,其中包含针对该项的权限的列表。A String array that contains the list of permissions on the item.

Remarks

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

SOAP 标头SOAP Headers (Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
所需的权限Required Permissions ReadProperties

返回的权限与分配给用户所属角色的任务相关联。The permissions returned are associated with tasks assigned to the roles in which the user is a member.

Applies to