Freigeben über


ReportingService2005.ListRoles-Methode

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[]

Parameter

Rückgabewert

Typ: array<ReportService2005.Role[]
An array of Role objects that contains a collection of information about roles, filtered by the supplied SecurityScopeEnum value.

Hinweise

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

SOAP Headers

(Out) ServerInfoHeaderValue

Required Permissions

None

Siehe auch

Verweis

ReportingService2005 Klasse

ReportService2005-Namespace