ReportingService2006.ListRoles(SecurityScopeEnum, String) Method

Definition

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);
member this.ListRoles : ReportService2006.SecurityScopeEnum * string -> ReportService2006.Role[]
Public Function ListRoles (SecurityScope As SecurityScopeEnum, Path As String) As Role()

Parameters

SecurityScope
SecurityScopeEnum

A SecurityScopeEnum value that specifies the security scope for the items to return.

Path
String

The fully qualified URL for the SharePoint site.

Returns

Role[]

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

**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.

Applies to