lwhittemore-emh
-
5/8/2013 2:03:46 PM
Macro in where Condition (CurrentUser.IsInRole)
I am trying to write a macro in my where condition of a repeater that checks to see if a user is in a particular role.
This is what I am trying: {%if (CurrentUser.IsInRole("Collaborative") == "True") { " Blah Blah Blah" } else { "something differnet" }%}
So I am not sure why the first statement doesnt work. It looks like the first part should resolve the True and then that would equal True and then yeild the truevale string... (hope that made sense) but it is not doing it.
|