Compartilhar via


Método ReportingService2005.ListRoles

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

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

Sintaxe

'Declaração
Public Function ListRoles ( _
    SecurityScope As SecurityScopeEnum _
) As Role()
'Uso
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[]

Parâmetros

Valor de retorno

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

Comentários

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

SOAP Headers

(Out) ServerInfoHeaderValue

Required Permissions

None

Consulte também

Referência

ReportingService2005 Classe

Namespace ReportService2005