ReportingService2005.ListRoles(SecurityScopeEnum) 方法

定义

返回报表服务器所管理的角色的名称和说明。

public:
 cli::array <ReportService2005::Role ^> ^ ListRoles(ReportService2005::SecurityScopeEnum SecurityScope);
public ReportService2005.Role[] ListRoles (ReportService2005.SecurityScopeEnum SecurityScope);
member this.ListRoles : ReportService2005.SecurityScopeEnum -> ReportService2005.Role[]
Public Function ListRoles (SecurityScope As SecurityScopeEnum) As Role()

参数

SecurityScope
SecurityScopeEnum

一个指定要返回项的安全范围的 SecurityScopeEnum 值。

返回

Role[]

Role 对象的数组,它包含有关角色的信息的集合,角色是按照提供的 SecurityScopeEnum 值筛选的。

注解

下表显示了有关此操作的标头和权限信息。

SOAP 标头 (Out) ServerInfoHeaderValue
所需的权限

适用于