Поделиться через


Метод ReportingService2006.GetModelItemPermissions

Retrieves the user permissions associated with an item in the model hierarchy.

Пространство имен:  ReportService2006
Сборка:  ReportService2006 (в ReportService2006.dll)

Синтаксис

'Декларация
Public Function GetModelItemPermissions ( _
    Model As String, _
    ModelItemID As String _
) As String()
'Применение
Dim instance As ReportingService2006 
Dim Model As String 
Dim ModelItemID As String 
Dim returnValue As String()

returnValue = instance.GetModelItemPermissions(Model, _
    ModelItemID)
public string[] GetModelItemPermissions(
    string Model,
    string ModelItemID
)
public:
array<String^>^ GetModelItemPermissions(
    String^ Model, 
    String^ ModelItemID
)
member GetModelItemPermissions : 
        Model:string * 
        ModelItemID:string -> string[] 
public function GetModelItemPermissions(
    Model : String, 
    ModelItemID : String
) : String[]

Параметры

  • Model
    Тип: System.String
    The fully qualified URL of the model including the file name and .smdl file name extension.
  • ModelItemID
    Тип: System.String
    The ID of the item in the model. If omitted, the permissions for the model root are returned.

Возвращаемое значение

Тип: array<System.String[]
A String array that contains the list of permissions on the item.

Замечания

The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ViewListItems

The permissions returned are associated with tasks assigned to the roles in which the user is a member.

См. также

Справочник

ReportingService2006 Класс

Пространство имен ReportService2006