Compartir a través de


ReportingService2005.ListRoles Método

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

Espacio de nombres:  ReportService2005
Ensamblado:  ReportService2005 (en ReportService2005.dll)

Sintaxis

'Declaración
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 devuelto

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

Comentarios

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

SOAP Headers

(Out) ServerInfoHeaderValue

Required Permissions

None

Vea también

Referencia

ReportingService2005 Clase

Espacio de nombres ReportService2005