8,849
edits
Changes
InRole
,no edit summary
This syntax can be used on [[Submit Logic]], [[Advanced Logic]], [[Visibility Condition|visibility conditions]], [[Custom Field Type: Special – Browser Script|browser scripts]] or any other role-specific [[validation]]. It will always return a value, either true or false.
<pre>@object.inRole(Rolename)@</pre>