ReportingService2010.GetRoleProperties(String, String, String) ReportingService2010.GetRoleProperties(String, String, String) ReportingService2010.GetRoleProperties(String, String, String) Method

定义

返回角色信息和关联任务的集合。 Returns role information and a collection of associated tasks.

public:
 cli::array <System::String ^> ^ GetRoleProperties(System::String ^ Name, System::String ^ SiteUrl, [Runtime::InteropServices::Out] System::String ^ % Description);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetRoleProperties", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public string[] GetRoleProperties (string Name, string SiteUrl, out string Description);
Public Function GetRoleProperties (Name As String, SiteUrl As String, ByRef Description As String) As String()
参数
Name
String String String

角色的名称。 The name of the role.

SiteUrl
String String String

SharePoint 站点的完全限定 URL。 The fully qualified URL for the SharePoint site. 将此参数设置为null(Nothing在 Visual Basic 中) 时调用此方法在纯模式下。 Set this parameter to null (Nothing in Visual Basic) when invoking this method in Native mode.

Description
String String String

[out] 角色的说明。 [out] The description of the role.

返回
String[]

一个表示角色信息的数组 String An array String that represents the role information.

注解

下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.

SOAP 标头使用情况SOAP Header Usage (In) TrustedUserHeaderValue(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
纯模式所需的权限Native Mode Required Permissions ReadRoleProperties (系统)ReadRoleProperties (System)
SharePoint 模式所需的权限SharePoint Mode Required Permissions ManagePermissions

此方法将引发rsUnsupportedParameterForModeException异常如果非 null 值指定为SiteUrl在纯模式下的参数。This method throws an rsUnsupportedParameterForModeException exception if a non-null value is specified for the SiteUrl parameter in Native mode.

适用于