Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ReportingService2010.GetRoleProperties Method

Returns role information and a collection of associated tasks.

Namespace:  ReportService2010
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.

Return Value

Type: System.String()
An array String that represents the role information.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.