ReportingService2005.ListRoles(SecurityScopeEnum) Method

Definition

返回报表服务器所管理的角色的名称和说明。Returns the names and descriptions of roles that the report server manages.

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()

Parameters

SecurityScope
SecurityScopeEnum

一个指定要返回项的安全范围的 SecurityScopeEnum 值。A SecurityScopeEnum value specifying the security scope for the items to return.

Returns

Role[]

Role 对象的数组,它包含有关角色的信息的集合,角色是按照提供的 SecurityScopeEnum 值筛选的。An array of Role objects that contains a collection of information about roles, filtered by the supplied SecurityScopeEnum value.

Remarks

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

SOAP 标头SOAP Headers (Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
所需的权限Required Permissions None

Applies to