Click or drag to resize
CMS.WebApi Namespace
Public classCode exampleAllowOnlyEditorAttribute
Restricts access to controller only for the editors.
Public classCode exampleHandleExceptionsAttribute
Handles exceptions thrown when processing controller's actions, ensures that internal exceptions are properly logged to the Event log.
Public classIsAuthorizedPerResourceAttribute
Restrict access for authorized user with given resource name and permission.