Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the names and descriptions of roles for a given SharePoint site.
Namespace: ReportService2006
Assembly: ReportService2006 (in ReportService2006.dll)
Syntax
'Declaration
Public Function ListRoles ( _
SecurityScope As SecurityScopeEnum, _
Path As String _
) As Role()
'Usage
Dim instance As ReportingService2006
Dim SecurityScope As SecurityScopeEnum
Dim Path As String
Dim returnValue As Role()
returnValue = instance.ListRoles(SecurityScope, _
Path)
public Role[] ListRoles(
SecurityScopeEnum SecurityScope,
string Path
)
public:
array<Role^>^ ListRoles(
SecurityScopeEnum SecurityScope,
String^ Path
)
member ListRoles :
SecurityScope:SecurityScopeEnum *
Path:string -> Role[]
public function ListRoles(
SecurityScope : SecurityScopeEnum,
Path : String
) : Role[]
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: array<ReportService2006.Role[]
The table below shows header and permissions information on this operation.
SOAP Headers |
(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.