Changes

InRole

307 bytes added, 18:24, 13 August 2014
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==
8,849
edits