...perhaps a little context might help: I'm try to do a hide-when type of thing with code like this:
<xp:tr>
<xp:this.rendered><![CDATA[#{javascript:
try {
return @IsMember("[Administrator]",@UserRoles);
} catch(e) {}
}]]></xp:this.rendered>
<xp:td styleClass="label">Hello Administrator</xp:td>
</xp:tr>
...however this throws the error "Error: '@UserRoles' not found". Is there something I need to do to access @UserRoles? Is @UserRoles not a standard @Function?