Click or drag to resize
IsAuthorizedPerResourceAttribute Class
Restrict access for authorized user with given resource name and permission.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    FilterAttribute
      AuthorizationFilterAttribute
        CMS.WebApiIsAuthorizedPerResourceAttribute

Namespace: CMS.WebApi
Assembly: CMS.WebApi (in CMS.WebApi.dll) Version: 11.0.0
Syntax
C#
public sealed class IsAuthorizedPerResourceAttribute : AuthorizationFilterAttribute

The IsAuthorizedPerResourceAttribute type exposes the following members.

Constructors
  NameDescription
Public methodIsAuthorizedPerResourceAttribute
Creates permission attribute. Permission will be checked similarly to IsAuthorizedPerResource(String, String).
Top
Methods
  NameDescription
Public methodOnAuthorization
Restrict access for authorized user with given resource name and permission.
(Overrides AuthorizationFilterAttribute.OnAuthorization(HttpActionContext).)
Top
Remarks
This API supports the framework infrastructure and is not intended to be used directly from your code.
See Also