IAuthorizer - интерфейс

Authorization services for the current user

Пространство имён:  Orchard.Security
Сборка:  EleWise.ELMA.SDK.Web (в EleWise.ELMA.SDK.Web.dll) Версия: 1.0.0.0
Синтаксис
C#
public interface IAuthorizer : IDependency
Методы
  ИмяОписание
Открытый методAuthorize(Permission)
Authorize the current user against a permission
Открытый методAuthorize(Permission, IContent)
Authorize the current user against a permission for a specified content item;
Открытый методAuthorize(Permission, LocalizedString)
Authorize the current user against a permission; if authorization fails, the specified message will be displayed
Открытый методAuthorize(Permission, IContent, LocalizedString)
Authorize the current user against a permission for a specified content item; if authorization fails, the specified message will be displayed
В начало страницы
См. также