ReportingService2010.SetRoleProperties Method

Sets role properties and associates a collection of tasks with a specified role. This method only applies to native mode.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
	ResponseNamespace := "",  _
	Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub SetRoleProperties ( _
	Name As String, _
	Description As String, _
	TaskIDs As String() _
Dim instance As ReportingService2010 
Dim Name As String 
Dim Description As String 
Dim TaskIDs As String()

instance.SetRoleProperties(Name, Description, _


Type: System.String
The name of the role for which to set properties.
Type: System.String
Optional. A description of the role.
Type: System.String()
An array of string objects that represent the tasks to set for the role.

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

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

UpdateRoleProperties (System)

SharePoint Mode Required Permissions

Not supported

This method throws an OperationNotSupportedSharePointMode exception when invoked in SharePoint mode.

When you use this method to change role properties, groups, users, and policies that are assigned to the role are affected.

Community Additions