SiteMapProvider.SecurityTrimmingEnabled Свойство
Определение
Получает логическое значение, показывающее, фильтрует ли поставщик карты веб-узла узлы карты веб-узла на основе роли пользователя.Gets a Boolean value indicating whether a site map provider filters site map nodes based on a user's role.
public:
property bool SecurityTrimmingEnabled { bool get(); };
public bool SecurityTrimmingEnabled { get; }
member this.SecurityTrimmingEnabled : bool
Public ReadOnly Property SecurityTrimmingEnabled As Boolean
Значение свойства
Значение true
, если для фильтрации узлов поставщик настроен на основе роли; в противном случае — значение false
.true
if the provider is configured to filter nodes based on role; otherwise, false
.
Комментарии
Фильтрация по безопасности не может быть задана программно. она задается в конфигурации для поставщика.Security trimming cannot be set programmatically - it is set in the configuration for the provider.