Lingua

ReportingService2006.ListRoles(SecurityScopeEnum, String) Metodo

Definizione

Restituisce i nomi e le descrizioni dei ruoli per un dato sito SharePoint.

public:
 cli::array <ReportService2006::Role ^> ^ ListRoles(ReportService2006::SecurityScopeEnum SecurityScope, System::String ^ Path);
public ReportService2006.Role[] ListRoles(ReportService2006.SecurityScopeEnum SecurityScope, string Path);
member this.ListRoles : ReportService2006.SecurityScopeEnum * string -> ReportService2006.Role[]
Public Function ListRoles (SecurityScope As SecurityScopeEnum, Path As String) As Role()

Parametri

SecurityScope
SecurityScopeEnum

Un SecurityScopeEnum valore che specifica l'ambito di sicurezza per gli oggetti da restituire.

Path
String

L'URL completamente qualificato per il sito SharePoint.

Valori restituiti

Role[]

La tabella sottostante mostra informazioni sull'intestazione e sui permessi di questa operazione.

**Header SOAP** (Dentro) TrustedUserHeaderValue

(Fuori) ServerInfoHeaderValue

Autorizzazioni necessarie

None

Un array di Role oggetti che contengono informazioni sui ruoli per il sito dato, filtrati in base al valore fornito SecurityScopeEnum .

Si applica a