Click or drag to resize

IContentItemWorkflowSuper Interface


Allows for elevating of permissions on a content item. This is used to allow actions to be done to an item, such as by workflow transitions, when users normally cannot perform those actions manually.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
public interface IContentItemWorkflowSuper

The IContentItemWorkflowSuper type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleAdminRightsEnabled
Gets and sets whether the content item has admin rights enabled. Admin rights will allow actions to the item that cannot normally be done by the user whose session is processing the request.
Public propertyCode exampleInWorkflowTransition
Gets and sets whether the content item is being accessed within the bounds of a workflow transition.
Top
Examples
Example casting a ContentItem as IContentItemWorkflowSuper in a custom hook:
C#
var contentItem = session.Site.Asset("a/100") as IContentItemWorkflowSuper;
See Also