Método ListRoles
Returns the names and descriptions of roles for a given SharePoint site.
Namespace: ReportService2006
Assembly: ReportService2006 (em ReportService2006.dll)
Sintaxe
'Declaração
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListRoles", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ListRoles ( _
SecurityScope As SecurityScopeEnum, _
Path As String _
) As Role()
'Uso
Dim instance As ReportingService2006
Dim SecurityScope As SecurityScopeEnum
Dim Path As String
Dim returnValue As Role()
returnValue = instance.ListRoles(SecurityScope, _
Path)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListRoles", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public Role[] ListRoles(
SecurityScopeEnum SecurityScope,
string Path
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListRoles", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
array<Role^>^ ListRoles(
SecurityScopeEnum SecurityScope,
String^ Path
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListRoles", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member ListRoles :
SecurityScope:SecurityScopeEnum *
Path:string -> Role[]
public function ListRoles(
SecurityScope : SecurityScopeEnum,
Path : String
) : Role[]
Parâmetros
- SecurityScope
Tipo: ReportService2006. . :: . .SecurityScopeEnum
A SecurityScopeEnum value that specifies the security scope for the items to return.
- Path
Tipo: System. . :: . .String
The fully qualified URL for the SharePoint site.
Valor de retorno
Tipo: array<ReportService2006. . :: . .Role> [] () [] []
An array of Role objects that contain information about roles for the given site, filtered by the supplied SecurityScopeEnum value.
Consulte também