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.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax bool 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
Type:
BooleanExamples
Example checking AdmingRightsEnabled in a custom hook:
var contentItem = session.Site.Asset("a/100") as IContentItemWorkflowSuper;
if(contentItem.AdminRightsEnabled){
}
See Also