ReportingService2010.SetRoleProperties(String, String, String[]) ReportingService2010.SetRoleProperties(String, String, String[]) ReportingService2010.SetRoleProperties(String, String, String[]) Method


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

 void SetRoleProperties(System::String ^ Name, System::String ^ Description, cli::array <System::String ^> ^ TaskIDs);
[System.Web.Services.Protocols.SoapDocumentMethod("", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="", ResponseNamespace="", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void SetRoleProperties (string Name, string Description, string[] TaskIDs);
Public Sub SetRoleProperties (Name As String, Description As String, TaskIDs As String())
String String String

The name of the role for which to set properties.

String String String

Optional.A description of the role.


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.

Applies to