Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ReportingService2006.ListRoles Method (SecurityScopeEnum, String)

 

Applies To: SQL Server 2016 Preview

Returns the names and descriptions of roles for a given SharePoint site.

Namespace:   ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

public Role[] ListRoles(
	SecurityScopeEnum SecurityScope,
	string Path
)

Parameters

SecurityScope
Type: ReportService2006.SecurityScopeEnum

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

Path
Type: System.String

The fully qualified URL for the SharePoint site.

Return Value

Type: ReportService2006.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.

Return to top
Show:
© 2015 Microsoft