ReportingService2010.ListRoles 方法

Returns the names and descriptions of roles on a report server or a given SharePoint site.

命名空间:  ReportService2010
程序集:  ReportService2010(在 ReportService2010.dll 中)

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListRoles", 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)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
public Role[] ListRoles(
	string SecurityScope,
	string SiteUrl
)

参数

SecurityScope
类型:System.String
The security scope for the items to return. For valid security scopes, see ListSecurityScopes.
SiteUrl
类型:System.String
The fully qualified URL for the SharePoint site. Set this parameter to null (Nothing in Visual Basic) when invoking this method in Native mode.

返回值

类型:ReportService2010.Role[]
An array of Role objects that contain information about roles for the given site, filtered by the supplied SecurityScope parameter.

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

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

None

SharePoint Mode Required Permissions

None

This method throws an rsUnsupportedParameterForModeException exception if a non-null value is specified for the SiteUrl parameter in Native mode.

社区附加资源

添加
显示: