ReportingService2005.SetRoleProperties Method

Sets role properties and associates a collection of tasks with a specified role.

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


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

instance.SetRoleProperties(Name, Description, _
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public void SetRoleProperties(
    string Name,
    string Description,
    Task[] Tasks
[SoapDocumentMethodAttribute(L"", RequestNamespace = L"", 
    ResponseNamespace = L"", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
void SetRoleProperties(
    String^ Name, 
    String^ Description, 
    array<Task^>^ Tasks
[<SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member SetRoleProperties : 
        Name:string * 
        Description:string * 
        Tasks:Task[] -> unit 
public function SetRoleProperties(
    Name : String, 
    Description : String, 
    Tasks : Task[]


  • Name
    Type: System.String
    The name of the role for which to set properties.
  • Description
    Type: System.String
    Optional. A description of the role.


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

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

UpdateRoleProperties (System)

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