ReportingService2010.GetModelItemPermissions(String, String) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Recupera i permessi utente associati a un elemento nella gerarchia del modello.
public:
cli::array <System::String ^> ^ GetModelItemPermissions(System::String ^ Model, System::String ^ ModelItemID);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetModelItemPermissions", 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 string[] GetModelItemPermissions(string Model, string ModelItemID);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetModelItemPermissions", 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")>]
member this.GetModelItemPermissions : string * string -> string[]
Public Function GetModelItemPermissions (Model As String, ModelItemID As String) As String()
Parametri
- Model
- String
L'URL completamente qualificato del modello include il nome file e l'estensione del nome file .smdl.
- ModelItemID
- String
L'ID dell'articolo nel modello. Se omesso, i permessi per la radice del modello vengono restituiti.
Valori restituiti
Un String array che contiene l'elenco dei permessi sull'elemento.
- Attributi
Commenti
La tabella sottostante mostra informazioni sull'intestazione e sui permessi di questa operazione.
| Utilizzo dell'intestazione SOAP | (Dentro) TrustedUserHeaderValue (Fuori) ServerInfoHeaderValue |
| Permessi richiesti per la modalità nativa | ReadProperties |
| Permessi richiesti in modalità SharePoint | <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> |
I permessi restituiti sono associati ai compiti assegnati ai ruoli di cui l'utente è membro.