8,849
edits
Changes
InRole
,no edit summary
|''@me.inRole(''rolename1'' OR ''rolename2'')@'' - instead of this, use ''@me.inRole(''rolename1'')@ OR @me.inRole(''rolename2'')@''
|}
The syntax for the test of when a contact is ''not'' in a role is to precede the ''inRole'' variable with an exclamation point ("!").
<pre>!@object.inRole(Rolename)@</pre>
An example is that ''!@me.inRole(Administrator)@'' will return true only when the current user is not in the role of Administrator.
==See Also==