IContentItemWorkflowSuperAdminRightsEnabled Property
|
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.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntaxbool AdminRightsEnabled { get; set; }Property AdminRightsEnabled As Boolean
Get
Set
property bool AdminRightsEnabled {
bool get ();
void set (bool value);
}abstract AdminRightsEnabled : bool with get, set
Property Value
Boolean
Example
Example checking AdmingRightsEnabled in a custom hook:
var contentItem = session.Site.Asset("a/100") as IContentItemWorkflowSuper;
if(contentItem.AdminRightsEnabled){
}
See Also