ReportingService2006.ListRoles(SecurityScopeEnum, String) ReportingService2006.ListRoles(SecurityScopeEnum, String) ReportingService2006.ListRoles(SecurityScopeEnum, String) Method

定义

返回给定 SharePoint 网站的角色的名称和说明。 Returns the names and descriptions of roles for a given SharePoint site.

public:
 cli::array <ReportService2006::Role ^> ^ ListRoles(ReportService2006::SecurityScopeEnum SecurityScope, System::String ^ Path);
public ReportService2006.Role[] ListRoles (ReportService2006.SecurityScopeEnum SecurityScope, string Path);
Public Function ListRoles (SecurityScope As SecurityScopeEnum, Path As String) As Role()

参数

SecurityScope
SecurityScopeEnum SecurityScopeEnum SecurityScopeEnum

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

Path
String String String

SharePoint 站点的完全限定 URL。 The fully qualified URL for the SharePoint site.

返回

Role[]

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

**SOAP 标头** (中) TrustedUserHeaderValue (缩小) ServerInfoHeaderValue
**所需的权限**
数组Role通过所提供的包含针对给定站点角色的信息的对象筛选SecurityScopeEnum值。
**SOAP Headers** (In) TrustedUserHeaderValue (Out) ServerInfoHeaderValue
**Required Permissions** None
An array of Role objects that contain information about roles for the given site, filtered by the supplied SecurityScopeEnum value.

适用于