ReportingService2010.GetRoleProperties Method
SQL Server 2008 R2
Returns role information and a collection of associated tasks.
Assembly: ReportService2010 (in ReportService2010.dll)
'Declaration <SoapHeaderAttribute("TrustedUserHeaderValue")> _ <SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetRoleProperties", RequestNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _ ResponseNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _ Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _ <SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _ Public Function GetRoleProperties ( _ Name As String, _ SiteUrl As String, _ <OutAttribute> ByRef Description As String _ ) As String() 'Usage Dim instance As ReportingService2010 Dim Name As String Dim SiteUrl As String Dim Description As String Dim returnValue As String() returnValue = instance.GetRoleProperties(Name, _ SiteUrl, Description)
Parameters
- Name
- Type: System.String
The name of the role.
- SiteUrl
- Type: System.String
The fully qualified URL for the SharePoint site.
Set this parameter to Nothing (Nothing in Visual Basic) when invoking this method in Native mode.
- Description
- Type: System.String%
[out] The description of the role.
The table below shows header and permissions information on this operation.
SOAP Header Usage | (Out) ServerInfoHeaderValue |
Native Mode Required Permissions | ReadRoleProperties (System) |
SharePoint Mode Required Permissions | ManagePermissions |
This method throws an rsUnsupportedParameterForModeException exception if a non-null value is specified for the SiteUrl parameter in Native mode.
