Поделиться через


ReportingService2006.ListRoles(SecurityScopeEnum, String) Метод

Определение

Возвращает имена и описания ролей для заданного сайта 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()

Параметры

SecurityScope
SecurityScopeEnum

Значение типа SecurityScopeEnum, указывающее область безопасности для возвращаемых элементов.

Path
String

Полный URL-адрес сайта SharePoint.

Возвращаемое значение

Role[]

В следующей таблице показаны сведения о заголовках и разрешениях для этой операции.

**Заголовки SOAP** (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Необходимые разрешения

Нет

Массив объектов Role, содержащий коллекцию сведений о ролях для данного сайта, отфильтрованных по предоставленному значению SecurityScopeEnum.

Применяется к