Changes

Jump to: navigation, search

InRole

284 bytes added, 18:22, 16 July 2013
no edit summary
|-
|<font color="red">'''Wrong''':</font>
|"@owner.inRole(Organization Contact)@"- don't put quotes around the variable. It's a true/false value, not a string.
|-
|<font color="red">'''Wrong''':</font>
|@me.inRole("Organization Contact")@- don't put quotes around the role name. The role name is ''Organization Contact'', not ''quote Organization Contact unquote''.
|-
|<font color="red">'''Wrong''':</font>
|"@me.inRole("Organization Contact")@"- don't put quotes around both things...
|-
|<font color="red">'''Wrong''':</font>
|@me.InRole(Organization Contact)@ OR @me.inrole(Organization Contact)@- use the correct capitalization, ''inRole''
|-
|<font color="red">'''Wrong''':</font>
|@me.inRole(''rolename1'' OR ''rolename2'')@ - instead of this, use @me.inRole(''rolename1'')@ OR @me.inRole(''rolename2'')@
|}
 
''For multiple role names use: @me.inRole(''rolename1'')@ OR @me.inRole(''rolename2'')@
==See Also==
8,849
edits

Navigation menu