hasRight

Tests if the operator has a specific named right.


            hasRight (name)
         

Parameters

name

Right name.

Return value

True if the operator has this right.

Remarks

Example:

      var hasAdminRight = application.operator.hasRight("admin")

Features

Method of class: CurrentOperator

Available in:

  • Content management
  • Delivery properties
  • Typology rule
  • JSSP
  • SOAP Method
  • WebApp
  • Workflow