Share via


ReportingService2005.ListRoles Method

Returns the names and descriptions of roles that the report server manages.

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

Syntax

'Declaration
Public Function ListRoles ( _
    SecurityScope As SecurityScopeEnum _
) As Role()
'Usage
Dim instance As ReportingService2005 
Dim SecurityScope As SecurityScopeEnum 
Dim returnValue As Role()

returnValue = instance.ListRoles(SecurityScope)
public Role[] ListRoles(
    SecurityScopeEnum SecurityScope
)
public:
array<Role^>^ ListRoles(
    SecurityScopeEnum SecurityScope
)
member ListRoles : 
        SecurityScope:SecurityScopeEnum -> Role[] 
public function ListRoles(
    SecurityScope : SecurityScopeEnum
) : Role[]

Parameters

Return Value

Type: array<ReportService2005.Role[]
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 Headers

(Out) ServerInfoHeaderValue

Required Permissions

None

See Also

Reference

ReportingService2005 Class

ReportService2005 Namespace