Metodo ListRoles
Restituisce i nomi e le descrizioni dei ruoli gestiti dal server di report.
Spazio dei nomi ReportService2005
Assembly: ReportService2005 (in ReportService2005.dll)
Sintassi
'Dichiarazione
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListRoles", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Function ListRoles ( _
SecurityScope As SecurityScopeEnum _
) As Role()
'Utilizzo
Dim instance As ReportingService2005
Dim SecurityScope As SecurityScopeEnum
Dim returnValue As Role()
returnValue = instance.ListRoles(SecurityScope)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListRoles", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public Role[] ListRoles(
SecurityScopeEnum SecurityScope
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListRoles", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
array<Role^>^ ListRoles(
SecurityScopeEnum SecurityScope
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListRoles", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member ListRoles :
SecurityScope:SecurityScopeEnum -> Role[]
public function ListRoles(
SecurityScope : SecurityScopeEnum
) : Role[]
Parametri
- SecurityScope
Tipo: ReportService2005. . :: . .SecurityScopeEnum
Valore SecurityScopeEnum che specifica l'ambito di sicurezza per la restituzione degli elementi.
Valore restituito
Tipo: array<ReportService2005. . :: . .Role> [] () [] []
Matrice di oggetti Role che contiene una raccolta di informazioni sui ruoli, filtrata in base al valore SecurityScopeEnum specificato.
Osservazioni
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
None |