Compartir a través de


ReportingService2006.GetModelItemPermissions Método

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

Espacio de nombres:  ReportService2006
Ensamblado:  ReportService2006 (en ReportService2006.dll)

Sintaxis

'Declaración
Public Function GetModelItemPermissions ( _
    Model As String, _
    ModelItemID As String _
) As String()
'Uso
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[]

Parámetros

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

Valor devuelto

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

Comentarios

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.

Vea también

Referencia

ReportingService2006 Clase

Espacio de nombres ReportService2006