ReportingService2005.ListRoles(SecurityScopeEnum) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回报表服务器所管理的角色的名称和说明。
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 |
所需的权限 | 无 |